diff --git a/plugins/view-resources/src/components/ActionButton.svelte b/plugins/view-resources/src/components/ActionButton.svelte index 0ae9cf0eea..0020d307c3 100644 --- a/plugins/view-resources/src/components/ActionButton.svelte +++ b/plugins/view-resources/src/components/ActionButton.svelte @@ -30,7 +30,7 @@ export let disabled: boolean = false export let id: Ref export let object: Doc | Doc[] - export let mode: ViewContextType | undefined = undefined + export let mode: ViewContextType = 'context' const client = getClient()