forked from mirror/pixelfed
Update admin.js, add autospam + reports components
This commit is contained in:
parent
bffd8f0771
commit
36f5f2e8b4
1 changed files with 10 additions and 0 deletions
10
resources/assets/js/admin.js
vendored
10
resources/assets/js/admin.js
vendored
|
@ -21,11 +21,21 @@ Array.from(document.querySelectorAll('.pagination .page-link'))
|
||||||
.filter(el => el.textContent === '« Previous' || el.textContent === 'Next »')
|
.filter(el => el.textContent === '« Previous' || el.textContent === 'Next »')
|
||||||
.forEach(el => el.textContent = (el.textContent === 'Next »' ? '›' :'‹'));
|
.forEach(el => el.textContent = (el.textContent === 'Next »' ? '›' :'‹'));
|
||||||
|
|
||||||
|
Vue.component(
|
||||||
|
'admin-autospam',
|
||||||
|
require('./../components/admin/AdminAutospam.vue').default
|
||||||
|
);
|
||||||
|
|
||||||
Vue.component(
|
Vue.component(
|
||||||
'admin-directory',
|
'admin-directory',
|
||||||
require('./../components/admin/AdminDirectory.vue').default
|
require('./../components/admin/AdminDirectory.vue').default
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Vue.component(
|
||||||
|
'admin-reports',
|
||||||
|
require('./../components/admin/AdminReports.vue').default
|
||||||
|
);
|
||||||
|
|
||||||
Vue.component(
|
Vue.component(
|
||||||
'instances-component',
|
'instances-component',
|
||||||
require('./../components/admin/AdminInstances.vue').default
|
require('./../components/admin/AdminInstances.vue').default
|
||||||
|
|
Loading…
Reference in a new issue