From 36f5f2e8b4aab32d44ae9c686bc6828719c1d03c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 11 Jun 2023 15:35:34 -0600 Subject: [PATCH] Update admin.js, add autospam + reports components --- resources/assets/js/admin.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/assets/js/admin.js b/resources/assets/js/admin.js index e38f3e98c..8d2b82ca1 100644 --- a/resources/assets/js/admin.js +++ b/resources/assets/js/admin.js @@ -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