-
+ );
};
const TabSelectorEntry = (props: { events: Registry
, entry: PermissionEditorTab }) => {
@@ -258,22 +261,26 @@ const TabSelectorEntry = (props: { events: Registry, entr
props.events.reactUse("action_activate_tab", event => setActive(event.tab === props.entry));
- return ;
+ return (
+
+ );
};
const TabSelector = (props: { events: Registry }) => {
- return
-
-
-
-
-
-
;
+ return (
+
+
+
+
+
+
+
+ );
};
export type DefaultTabValues = { groupId?: number, channelId?: number, clientDatabaseId?: number };
diff --git a/shared/js/ui/modal/permission/PermissionEditor.tsx b/shared/js/ui/modal/permission/PermissionEditor.tsx
index c4667035..03bee227 100644
--- a/shared/js/ui/modal/permission/PermissionEditor.tsx
+++ b/shared/js/ui/modal/permission/PermissionEditor.tsx
@@ -1354,7 +1354,7 @@ export class PermissionEditor extends React.Component
- ]
+ ];
}
componentDidMount(): void {