mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 00:10:37 +00:00
set the correct store (#5916)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
350eef63bb
commit
e56518bbe4
@ -15,7 +15,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { IntlString } from '@hcengineering/platform'
|
import { IntlString } from '@hcengineering/platform'
|
||||||
import { getContext } from 'svelte'
|
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 FontSizePopup from './FontSizePopup.svelte'
|
||||||
import FontSize from './icons/FontSize.svelte'
|
import FontSize from './icons/FontSize.svelte'
|
||||||
|
|
||||||
@ -39,7 +39,7 @@
|
|||||||
if (result) {
|
if (result) {
|
||||||
setFontSize(result)
|
setFontSize(result)
|
||||||
current = fontsizes.findIndex((fs) => fs.id === result)
|
current = fontsizes.findIndex((fs) => fs.id === result)
|
||||||
$popupstore = $popupstore
|
$modalStore = $modalStore
|
||||||
}
|
}
|
||||||
pressed = false
|
pressed = false
|
||||||
})
|
})
|
||||||
|
@ -268,6 +268,7 @@ export * from './types'
|
|||||||
export * from './location'
|
export * from './location'
|
||||||
export * from './utils'
|
export * from './utils'
|
||||||
export * from './popups'
|
export * from './popups'
|
||||||
|
export * from './modals'
|
||||||
export * from './tooltips'
|
export * from './tooltips'
|
||||||
export * from './panelup'
|
export * from './panelup'
|
||||||
export * from './components/calendar/internal/DateUtils'
|
export * from './components/calendar/internal/DateUtils'
|
||||||
|
Loading…
Reference in New Issue
Block a user