mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 02:13:48 +00:00
6c6f5c2c0f
feat: locked presets refactor: simplify locked param refactor: create share links
15 lines
463 B
TypeScript
15 lines
463 B
TypeScript
import ViewNavigationMenu from '../../common/components/navigation-menu/ViewNavigationMenu';
|
|
import ProtectRoute from '../../common/components/protect-route/ProtectRoute';
|
|
import { getIsViewLocked } from '../../externals';
|
|
|
|
import Operator from './Operator';
|
|
|
|
export default function OperatorExport() {
|
|
return (
|
|
<ProtectRoute permission='operator'>
|
|
<ViewNavigationMenu isViewLocked={getIsViewLocked()} />
|
|
<Operator />
|
|
</ProtectRoute>
|
|
);
|
|
}
|