mirror of
https://github.com/docmost/docmost.git
synced 2026-05-17 23:14:07 +08:00
fix
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { atom } from "jotai";
|
||||
import { atomWithStorage } from "jotai/utils";
|
||||
import type { Entitlements } from "./entitlement.types";
|
||||
|
||||
const initialValue: Entitlements | null = null;
|
||||
export const entitlementAtom = atom(initialValue);
|
||||
export const entitlementAtom = atomWithStorage<Entitlements | null>(
|
||||
"entitlements",
|
||||
null,
|
||||
);
|
||||
|
||||
@@ -60,7 +60,7 @@ export default function Security() {
|
||||
</>
|
||||
)}
|
||||
|
||||
{hasSecurityAccess && (
|
||||
{(isCloud() || hasSecurityAccess) && (
|
||||
<>
|
||||
<AllowedDomains />
|
||||
<Divider my="lg" />
|
||||
|
||||
Reference in New Issue
Block a user