Commit adc0b2b9 authored by Administrator's avatar Administrator

Update frontend/src/store.jsx via Son of Anton

parent 2945a059
......@@ -85,7 +85,6 @@ export function useApp() {
export function usePermissions() {
const { state } = useApp();
// Provide defaults if user permissions aren't loaded yet
return state.user?.permissions || {
can_use_knowledge_base: true,
can_use_gitlab: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment