set the correct store (#5916)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov
2024-06-25 22:53:47 +07:00
committed by GitHub
parent 350eef63bb
commit e56518bbe4
2 changed files with 3 additions and 2 deletions
@@ -15,7 +15,7 @@
<script lang="ts">
import { IntlString } from '@hcengineering/platform'
import { getContext } from 'svelte'
import ui, { deviceOptionsStore as deviceInfo, popupstore, showPopup } from '../..'
import ui, { deviceOptionsStore as deviceInfo, modalStore, showPopup } from '../..'
import FontSizePopup from './FontSizePopup.svelte'
import FontSize from './icons/FontSize.svelte'
@@ -39,7 +39,7 @@
if (result) {
setFontSize(result)
current = fontsizes.findIndex((fs) => fs.id === result)
$popupstore = $popupstore
$modalStore = $modalStore
}
pressed = false
})
+1
View File
@@ -268,6 +268,7 @@ export * from './types'
export * from './location'
export * from './utils'
export * from './popups'
export * from './modals'
export * from './tooltips'
export * from './panelup'
export * from './components/calendar/internal/DateUtils'