We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 038d868 commit 12d32feCopy full SHA for 12d32fe
src/frontend/apps/impress/src/features/docs/docs-grid/components/DocsGridActions.tsx
@@ -19,6 +19,10 @@ export const DocsGridActions = ({ doc }: DocsGridActionsProps) => {
19
const [isModalRemoveOpen, setIsModalRemoveOpen] = useState(false);
20
const [isDropOpen, setIsDropOpen] = useState(false);
21
22
+ if (!doc.abilities.partial_update && !doc.abilities.destroy) {
23
+ return null;
24
+ }
25
+
26
return (
27
<>
28
<DropButton
0 commit comments