peek settings modal on route change

This commit is contained in:
Henry Jameson 2026-06-11 12:04:40 +03:00
commit f65f595f75
2 changed files with 8 additions and 2 deletions

View file

@ -17,13 +17,11 @@ library.add(faCircleNotch)
const UserProfileAdminView = {
data() {
return {
userId: null,
godmode: false,
showReblogs: false,
}
},
created() {
this.userId = this.$route.params.id
this.$store.dispatch('fetchUserIfMissing', this.userId)
useInterfaceStore().setForeignProfileBackground(this.user?.background_image)
},
@ -45,6 +43,9 @@ const UserProfileAdminView = {
user() {
return this.$store.getters.findUser(this.userId)
},
userId() {
return this.$route.params.id
}
},
methods: {
fetchStatuses(page) {