Fix support entry (#79)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
1f9440ca58
commit
906d5cc10f
4 files changed
+43
-27
No files matched your search
@@ -25,7 +25,7 @@
|
||||
</div>
|
||||
<div class="middle" />
|
||||
<div class="bottom">
|
||||
<div class="link">
|
||||
<div v-if="showSupport" class="link">
|
||||
<help-entry>
|
||||
<template #main>
|
||||
<el-button class="button">
|
||||
@@ -204,6 +204,9 @@ export default defineComponent({
|
||||
showSite() {
|
||||
return this.$store?.state?.site?.admins?.includes(this.$store.getters.user?.id);
|
||||
},
|
||||
showSupport() {
|
||||
return this.$store?.state?.site?.features?.support?.enabled;
|
||||
},
|
||||
showDistribution() {
|
||||
return (
|
||||
// if forcedInviterId is set, only the forced inviter can see the distribution menu
|
||||
|
||||
Reference in new issue
Block a user