fixed issues
This commit is contained in:
parent
33aef5e2f7
commit
f148654c3f
16
.vscode/settings.json
vendored
16
.vscode/settings.json
vendored
@ -7,14 +7,14 @@
|
||||
"**/route.ts": "Route: ${dirname(1)}",
|
||||
},
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.svn": true,
|
||||
"**/.hg": true,
|
||||
"**/CVS": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/Thumbs.db": true,
|
||||
".**": true,
|
||||
"node_modules": true
|
||||
"**/.git": false,
|
||||
"**/.svn": false,
|
||||
"**/.hg": false,
|
||||
"**/CVS": false,
|
||||
"**/.DS_Store": false,
|
||||
"**/Thumbs.db": false,
|
||||
".**": false,
|
||||
"node_modules": false
|
||||
},
|
||||
"betterOpenEditors.HidePackagePath": true,
|
||||
"betterOpenEditors.PackagePatterns": "**/components\n**/modules/\n**/app\n**/app/api\n**/app/admin\n**/models\n**/util/*\n**/util\n**/lib/*\n**/views"
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
cache: "no-store";
|
||||
import AuthHandler from "@/components/server/admin/authHandler";
|
||||
import Sidebar, { SidebarEntry } from "@/components/server/admin/views/sidebar";
|
||||
import { ProjectView } from "@/views/admin/project";
|
||||
import { PostView } from "@/views/admin/post";
|
||||
import { ProjectView } from "@/components/views/admin/project";
|
||||
import { PostView } from "@/components/views/admin/post";
|
||||
import { redirect } from 'next/navigation'
|
||||
|
||||
function Home() {
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
cache: "no-store";
|
||||
|
||||
import { ReactNode } from "react";
|
||||
import EntityManagementTable from "../../../components/client/EntityManagementTable";
|
||||
import EntityManagementTable from "@/components/client/EntityManagementTable";
|
||||
import PostTable from "@/components/client/admin/PostTable";
|
||||
import {
|
||||
deletePost,
|
||||
getPostsWithBucketsAndProject,
|
||||
updatePost,
|
||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions";
|
||||
} from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entitymanagement/post/projectActions";
|
||||
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
|
||||
import { tryCreateAttachment } from "@/app/api/attachment/route";
|
||||
import { Attributes } from "@sequelize/core";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user