separation
This commit is contained in:
parent
912aa228d1
commit
573a980512
12 changed files with 56 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue