forked from Github/frigate
refactor(web): camera view + bugfixes
This commit is contained in:
committed by
Blake Blackshear
parent
b422a83b57
commit
96f87caff0
@@ -49,10 +49,12 @@ export function Destination({ className = '', href, text, ...other }) {
|
||||
: 'class']: 'block p-2 text-sm font-semibold text-gray-900 rounded hover:bg-blue-500 dark:text-gray-200 hover:text-white dark:hover:text-white focus:outline-none ring-opacity-50 focus:ring-2 ring-blue-300',
|
||||
};
|
||||
|
||||
const El = external ? 'a' : Link;
|
||||
|
||||
return (
|
||||
<Link activeClassName="bg-blue-500 bg-opacity-50 text-white" {...styleProps} href={href} {...props} {...other}>
|
||||
<El activeClassName="bg-blue-500 bg-opacity-50 text-white" {...styleProps} href={href} {...props} {...other}>
|
||||
<div onClick={handleDismiss}>{text}</div>
|
||||
</Link>
|
||||
</El>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user