uploads tab
This commit is contained in:
parent
db535ae057
commit
bc92f535de
3 changed files with 17 additions and 2 deletions
|
|
@ -23,6 +23,9 @@ export default {
|
|||
...Setting.computed,
|
||||
realOptions () {
|
||||
if (this.realSource === 'admin') {
|
||||
if (!(this.backendDescriptionSuggestions?.length !== 0)) {
|
||||
return this.options
|
||||
}
|
||||
return this.backendDescriptionSuggestions.map(x => ({
|
||||
key: x,
|
||||
value: x,
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import InstanceTab from './admin_tabs/instance_tab.vue'
|
|||
import LimitsTab from './admin_tabs/limits_tab.vue'
|
||||
import FrontendsTab from './admin_tabs/frontends_tab.vue'
|
||||
import EmojiTab from './admin_tabs/emoji_tab.vue'
|
||||
import UploadsTab from './admin_tabs/uploads_tab.vue'
|
||||
import MailerTab from './admin_tabs/mailer_tab.vue'
|
||||
import MonitoringTab from './admin_tabs/monitoring_tab.vue'
|
||||
import RegistrationsTab from './admin_tabs/registrations_tab.vue'
|
||||
|
|
@ -16,7 +17,8 @@ import {
|
|||
faLaptopCode,
|
||||
faEnvelope,
|
||||
faChartLine,
|
||||
faDoorOpen
|
||||
faDoorOpen,
|
||||
faUpload
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
library.add(
|
||||
|
|
@ -25,7 +27,8 @@ library.add(
|
|||
faLaptopCode,
|
||||
faEnvelope,
|
||||
faChartLine,
|
||||
faDoorOpen
|
||||
faDoorOpen,
|
||||
faUpload
|
||||
)
|
||||
|
||||
const SettingsModalAdminContent = {
|
||||
|
|
@ -37,6 +40,7 @@ const SettingsModalAdminContent = {
|
|||
FrontendsTab,
|
||||
MailerTab,
|
||||
EmojiTab,
|
||||
UploadsTab,
|
||||
MonitoringTab,
|
||||
RegistrationsTab
|
||||
},
|
||||
|
|
|
|||
|
|
@ -90,6 +90,14 @@
|
|||
<MailerTab />
|
||||
</div>
|
||||
|
||||
<div
|
||||
:label="$t('admin_dash.tabs.uploads')"
|
||||
icon="upload"
|
||||
data-tab-name="uploads"
|
||||
>
|
||||
<UploadsTab />
|
||||
</div>
|
||||
|
||||
<div
|
||||
:label="$t('admin_dash.tabs.monitoring')"
|
||||
icon="chart-line"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue