feat: update sidebar and article table
This commit is contained in:
parent
3775167ef0
commit
e520e64fcd
|
|
@ -92,20 +92,20 @@ const sideBarDummyData = [
|
|||
statusName: "Active",
|
||||
childModule: null,
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: "E-Magazine",
|
||||
moduleId: 652,
|
||||
moduleName: "Dashboard",
|
||||
modulePathUrl: "/admin/e-magazine",
|
||||
parentId: -1,
|
||||
icon: <TableIcon />,
|
||||
position: 1,
|
||||
statusId: 1,
|
||||
childMenu: [],
|
||||
statusName: "Active",
|
||||
childModule: null,
|
||||
},
|
||||
// {
|
||||
// id: 4,
|
||||
// name: "E-Magazine",
|
||||
// moduleId: 652,
|
||||
// moduleName: "Dashboard",
|
||||
// modulePathUrl: "/admin/e-magazine",
|
||||
// parentId: -1,
|
||||
// icon: <TableIcon />,
|
||||
// position: 1,
|
||||
// statusId: 1,
|
||||
// childMenu: [],
|
||||
// statusName: "Active",
|
||||
// childModule: null,
|
||||
// },
|
||||
{
|
||||
id: 5,
|
||||
name: "Master",
|
||||
|
|
@ -121,34 +121,34 @@ const sideBarDummyData = [
|
|||
statusName: "Active",
|
||||
childModule: null,
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
name: "Master Menu",
|
||||
moduleId: 652,
|
||||
moduleName: "Form Custom",
|
||||
modulePathUrl: "/admin/master-menu",
|
||||
parentId: -1,
|
||||
icon: <FormCustomIcon />,
|
||||
position: 1,
|
||||
statusId: 1,
|
||||
childMenu: [],
|
||||
statusName: "Active",
|
||||
childModule: null,
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
name: "Master Module",
|
||||
moduleId: 653,
|
||||
moduleName: "Form Horizontal",
|
||||
modulePathUrl: "/admin/master-module",
|
||||
parentId: -1,
|
||||
icon: <FormHorizontalIcon />,
|
||||
position: 1,
|
||||
statusId: 1,
|
||||
childMenu: [],
|
||||
statusName: "Active",
|
||||
childModule: null,
|
||||
},
|
||||
// {
|
||||
// id: 6,
|
||||
// name: "Master Menu",
|
||||
// moduleId: 652,
|
||||
// moduleName: "Form Custom",
|
||||
// modulePathUrl: "/admin/master-menu",
|
||||
// parentId: -1,
|
||||
// icon: <FormCustomIcon />,
|
||||
// position: 1,
|
||||
// statusId: 1,
|
||||
// childMenu: [],
|
||||
// statusName: "Active",
|
||||
// childModule: null,
|
||||
// },
|
||||
// {
|
||||
// id: 7,
|
||||
// name: "Master Module",
|
||||
// moduleId: 653,
|
||||
// moduleName: "Form Horizontal",
|
||||
// modulePathUrl: "/admin/master-module",
|
||||
// parentId: -1,
|
||||
// icon: <FormHorizontalIcon />,
|
||||
// position: 1,
|
||||
// statusId: 1,
|
||||
// childMenu: [],
|
||||
// statusName: "Active",
|
||||
// childModule: null,
|
||||
// },
|
||||
{
|
||||
id: 8,
|
||||
name: "Master User",
|
||||
|
|
@ -163,20 +163,20 @@ const sideBarDummyData = [
|
|||
statusName: "Active",
|
||||
childModule: null,
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
name: "Master User Level",
|
||||
moduleId: 655,
|
||||
moduleName: "Form User Level",
|
||||
modulePathUrl: "/admin/master-user-level",
|
||||
parentId: -1,
|
||||
icon: <FormLayoutIcon />,
|
||||
position: 1,
|
||||
statusId: 1,
|
||||
childMenu: [],
|
||||
statusName: "Active",
|
||||
childModule: null,
|
||||
},
|
||||
// {
|
||||
// id: 9,
|
||||
// name: "Master User Level",
|
||||
// moduleId: 655,
|
||||
// moduleName: "Form User Level",
|
||||
// modulePathUrl: "/admin/master-user-level",
|
||||
// parentId: -1,
|
||||
// icon: <FormLayoutIcon />,
|
||||
// position: 1,
|
||||
// statusId: 1,
|
||||
// childMenu: [],
|
||||
// statusName: "Active",
|
||||
// childModule: null,
|
||||
// },
|
||||
{
|
||||
id: 10,
|
||||
name: "Master User Role",
|
||||
|
|
|
|||
|
|
@ -64,10 +64,10 @@ export default function ArticleTable() {
|
|||
|
||||
{ name: "No", uid: "no" },
|
||||
{ name: "Judul", uid: "title" },
|
||||
{ name: "Kategori", uid: "articleCategory" },
|
||||
{ name: "Tanggal Unggah", uid: "createdDate" },
|
||||
{ name: "Kreator", uid: "creator" },
|
||||
{ name: "Sumber", uid: "source" },
|
||||
{ name: "Kategori", uid: "categoryName" },
|
||||
{ name: "Tanggal Unggah", uid: "createdAt" },
|
||||
{ name: "Kreator", uid: "createdByName" },
|
||||
// { name: "Sumber", uid: "source" },
|
||||
// { name: "Users", uid: "users" },
|
||||
// { name: "Status", uid: "status" },
|
||||
{ name: "Aksi", uid: "actions" },
|
||||
|
|
|
|||
|
|
@ -6860,12 +6860,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/zod": {
|
||||
"version": "3.22.4",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz",
|
||||
"integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/colinhacks"
|
||||
}
|
||||
"version": "1.11.17",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-1.11.17.tgz",
|
||||
"integrity": "sha512-UzIwO92D0dSFwIRyyqAfRXICITLjF0IP8tRbEK/un7adirMssWZx8xF/1hZNE7t61knWZ+lhEuUvxlu2MO8qqA=="
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue