separation

This commit is contained in:
Henry Jameson 2026-01-29 15:11:47 +02:00
commit 573a980512
12 changed files with 56 additions and 31 deletions

View file

@ -1,14 +1,12 @@
import { mapState } from 'pinia'
import { useInstanceStore } from 'src/stores/instance.js'
const TermsOfServicePanel = {
computed: {
content() {
return useInstanceStore().tos
},
embedded() {
return useInstanceStore().embeddedToS
},
},
computed: mapState(useInstanceStore, {
content: (store) => store.instanceIdentity.tos,
embedded: (store) => store.instanceIdentity.embeddedToS,
}),
}
export default TermsOfServicePanel