1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 20:46:20 +02:00

Improve task manager

This commit is contained in:
syuilo
2020-11-01 13:38:48 +09:00
parent 8c5d9dd549
commit 9195504329
6 changed files with 52 additions and 14 deletions

View File

@@ -109,7 +109,7 @@ export default defineComponent({
window.addEventListener('wheel', this.onWheel);
if (this.$store.getters.isSignedIn) {
this.connection = os.stream.useSharedConnection('main');
this.connection = os.stream.useSharedConnection('main', 'UI');
this.connection.on('notification', this.onNotification);
}
},

View File

@@ -141,7 +141,7 @@ export default defineComponent({
created() {
document.documentElement.style.overflowY = 'scroll';
this.connection = os.stream.useSharedConnection('main');
this.connection = os.stream.useSharedConnection('main', 'UI');
this.connection.on('notification', this.onNotification);
if (this.$store.state.deviceUser.widgets.length === 0) {

View File

@@ -71,7 +71,7 @@ export default defineComponent({
created() {
document.documentElement.style.overflowY = 'scroll';
this.connection = os.stream.useSharedConnection('main');
this.connection = os.stream.useSharedConnection('main', 'UI');
this.connection.on('notification', this.onNotification);
},