fix: enhance FAQ management and add delete confirmation modal

This commit is contained in:
nguyenvanbao
2026-02-04 11:48:04 +07:00
parent a1984189bd
commit 37123976c6
5 changed files with 383 additions and 72 deletions

View File

@@ -2,7 +2,6 @@ const Service = require("../models/service");
const getServiceData = async () => {
const service = await Service.findOne().sort({ updatedAt: -1 });
console.log("check layout", service.services.items.layout);
if (!service) {
return {