Update admin.js, add autospam + reports components

This commit is contained in:
Daniel Supernault 2023-06-11 15:35:34 -06:00
parent bffd8f0771
commit 36f5f2e8b4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -21,11 +21,21 @@ Array.from(document.querySelectorAll('.pagination .page-link'))
.filter(el => el.textContent === '« Previous' || el.textContent === 'Next »')
.forEach(el => el.textContent = (el.textContent === 'Next »' ? '' :''));
Vue.component(
'admin-autospam',
require('./../components/admin/AdminAutospam.vue').default
);
Vue.component(
'admin-directory',
require('./../components/admin/AdminDirectory.vue').default
);
Vue.component(
'admin-reports',
require('./../components/admin/AdminReports.vue').default
);
Vue.component(
'instances-component',
require('./../components/admin/AdminInstances.vue').default