mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
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 »')
|
||||
.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
|
||||
|
|
Loading…
Reference in a new issue