diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-05-15 19:08:46 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-05-15 19:08:46 +0900 |
| commit | 23f106a0c1d16e821a712d39be1c90d17cd6c901 (patch) | |
| tree | 32b18e62d878d32be3656ccb28c12fc15fc75fdb /packages/frontend/src/widgets/WidgetJobQueue.vue | |
| parent | chore(frontend): 設定画面を整理 (diff) | |
| download | misskey-23f106a0c1d16e821a712d39be1c90d17cd6c901.tar.gz misskey-23f106a0c1d16e821a712d39be1c90d17cd6c901.tar.bz2 misskey-23f106a0c1d16e821a712d39be1c90d17cd6c901.zip | |
refactor(frontend): boot分割したり副作用減らしたりとか
#10838
Diffstat (limited to 'packages/frontend/src/widgets/WidgetJobQueue.vue')
| -rw-r--r-- | packages/frontend/src/widgets/WidgetJobQueue.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/widgets/WidgetJobQueue.vue b/packages/frontend/src/widgets/WidgetJobQueue.vue index 84043cf13f..73a4802595 100644 --- a/packages/frontend/src/widgets/WidgetJobQueue.vue +++ b/packages/frontend/src/widgets/WidgetJobQueue.vue @@ -49,7 +49,7 @@ import { onUnmounted, reactive } from 'vue'; import { useWidgetPropsManager, Widget, WidgetComponentExpose } from './widget'; import { GetFormResultType } from '@/scripts/form'; -import { stream } from '@/stream'; +import { useStream } from '@/stream'; import number from '@/filters/number'; import * as sound from '@/scripts/sound'; import { deepClone } from '@/scripts/clone'; @@ -81,7 +81,7 @@ const { widgetProps, configure } = useWidgetPropsManager(name, emit, ); -const connection = stream.useChannel('queueStats'); +const connection = useStream().useChannel('queueStats'); const current = reactive({ inbox: { activeSincePrevTick: 0, |