-
showModal(AvatarEditor, { label: 'Profile photo' })}>
+
showPopup(AvatarEditor, { label: 'Profile photo' })}>
diff --git a/plugins/recruit-resources/src/components/EditCandidate.svelte b/plugins/recruit-resources/src/components/EditCandidate.svelte index 6d007c8a8e..391fbb4a28 100644 --- a/plugins/recruit-resources/src/components/EditCandidate.svelte +++ b/plugins/recruit-resources/src/components/EditCandidate.svelte @@ -16,7 +16,7 @@ diff --git a/plugins/workbench-resources/src/components/Modal.svelte b/plugins/workbench-resources/src/components/Modal.svelte deleted file mode 100644 index 5c57403f55..0000000000 --- a/plugins/workbench-resources/src/components/Modal.svelte +++ /dev/null @@ -1,83 +0,0 @@ - - - - - -{#if $modal.is} - -
- {:else} No client diff --git a/plugins/workbench-resources/src/components/navigator/SpacesNav.svelte b/plugins/workbench-resources/src/components/navigator/SpacesNav.svelte index 05091c969b..94c289fa6c 100644 --- a/plugins/workbench-resources/src/components/navigator/SpacesNav.svelte +++ b/plugins/workbench-resources/src/components/navigator/SpacesNav.svelte @@ -23,7 +23,7 @@ import { IconAdd } from '@anticrm/ui' import { getClient, createQuery } from '@anticrm/presentation' - import { showModal } from '@anticrm/ui' + import { showPopup } from '@anticrm/ui' import { classIcon } from '../../utils' @@ -42,7 +42,7 @@ label: model.addSpaceLabel, icon: IconAdd, action: async (): Promise => { - showModal(model.createComponent, {}) + showPopup(model.createComponent, {}) } }