-
+
{{ ago(state.lastModified) }}
-
@@ -421,7 +417,7 @@
onBeforeRouteUpdate,
} from 'vue-router';
- import {useI18n} from 'vue-i18n';
+ import { useI18n } from 'vue-i18n';
import {
Popover,
@@ -431,7 +427,7 @@
import useEntityStore from '@/bootstrap/stores/entity.js';
import router from '%router';
- import {useToast} from '@/plugins/toast.js';
+ import { useToast } from '@/plugins/toast.js';
import {
ago,
@@ -498,7 +494,7 @@
}
},
setup(props) {
- const {t} = useI18n();
+ const { t } = useI18n();
const route = useRoute();
const toast = useToast();
const attributeStore = useAttributeStore();
@@ -906,7 +902,7 @@
const dirtyValues = getDirtyValues(grps);
const patches = [];
const moderations = [];
- if(Object.keys(dirtyValues).length == 0 ) return;
+ if(Object.keys(dirtyValues).length == 0) return;
for(let v in dirtyValues) {
const aid = v;
@@ -1100,6 +1096,7 @@
return false;
} else {
leaveEntityRoom(channels.entity);
+ entityStore.unset();
channels.entity = null;
return true;
}