set the correct store (#5916)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2024-06-25 20:53:47 +05:00 committed by GitHub
parent 350eef63bb
commit e56518bbe4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -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
})

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'