better session handling

- separated from component
- handle visibilityState / closing of the tab

Signed-off-by: chandi Langecker <git@chandi.it>
This commit is contained in:
chandi Langecker
2022-09-05 11:53:13 +02:00
parent 6bfb54e2b3
commit 38aed97d69
7 changed files with 143 additions and 98 deletions

View File

@@ -227,7 +227,7 @@ import FilterOffIcon from 'vue-material-design-icons/FilterOff.vue'
import ArrowCollapseVerticalIcon from 'vue-material-design-icons/ArrowCollapseVertical.vue'
import ArrowExpandVerticalIcon from 'vue-material-design-icons/ArrowExpandVertical.vue'
import SessionList from './SessionList'
import { isNotifyPushEnabled } from '../listeners'
import { isNotifyPushEnabled } from '../sessions'
export default {
name: 'Controls',