feat(ui): align admin project detail with enterprise system
This commit is contained in:
@@ -88,6 +88,19 @@ for (const file of financeAndFilePages) {
|
||||
}
|
||||
}
|
||||
|
||||
const adminProjectDetail = readFileSync("src/views/admin/ProjectDetail.vue", "utf8");
|
||||
const requiredAdminProjectDetailClasses = [
|
||||
"ctms-page-shell",
|
||||
"unified-action-bar",
|
||||
"unified-section"
|
||||
];
|
||||
|
||||
for (const className of requiredAdminProjectDetailClasses) {
|
||||
if (!adminProjectDetail.includes(className)) {
|
||||
missing.push(`src/views/admin/ProjectDetail.vue:${className}`);
|
||||
}
|
||||
}
|
||||
|
||||
if (missing.length) {
|
||||
console.error("UI contract check failed. Missing:", missing.join(", "));
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user