feat(wiki): add batch tag remove mode to admin wiki page
Add add/remove toggle to batch tag picker. Clean up unused requireAdmin import from wiki sync route.
This commit is contained in:
parent
a516f172fb
commit
50a358b294
3 changed files with 25 additions and 17 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import WikiArticle from '../../../models/wikiArticle.js'
|
||||
import { connectDB } from '../../../utils/mongoose.js'
|
||||
import { requireAdmin } from '../../../utils/auth.js'
|
||||
import { fetchAllDocuments, extractSummary } from '../../../utils/outline.js'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue