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)}",
|
"**/route.ts": "Route: ${dirname(1)}",
|
||||||
},
|
},
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/.git": true,
|
"**/.git": false,
|
||||||
"**/.svn": true,
|
"**/.svn": false,
|
||||||
"**/.hg": true,
|
"**/.hg": false,
|
||||||
"**/CVS": true,
|
"**/CVS": false,
|
||||||
"**/.DS_Store": true,
|
"**/.DS_Store": false,
|
||||||
"**/Thumbs.db": true,
|
"**/Thumbs.db": false,
|
||||||
".**": true,
|
".**": false,
|
||||||
"node_modules": true
|
"node_modules": false
|
||||||
},
|
},
|
||||||
"betterOpenEditors.HidePackagePath": true,
|
"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"
|
"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";
|
cache: "no-store";
|
||||||
import AuthHandler from "@/components/server/admin/authHandler";
|
import AuthHandler from "@/components/server/admin/authHandler";
|
||||||
import Sidebar, { SidebarEntry } from "@/components/server/admin/views/sidebar";
|
import Sidebar, { SidebarEntry } from "@/components/server/admin/views/sidebar";
|
||||||
import { ProjectView } from "@/views/admin/project";
|
import { ProjectView } from "@/components/views/admin/project";
|
||||||
import { PostView } from "@/views/admin/post";
|
import { PostView } from "@/components/views/admin/post";
|
||||||
import { redirect } from 'next/navigation'
|
import { redirect } from 'next/navigation'
|
||||||
|
|
||||||
function Home() {
|
function Home() {
|
||||||
|
|||||||
@ -1,14 +1,14 @@
|
|||||||
cache: "no-store";
|
cache: "no-store";
|
||||||
|
|
||||||
import { ReactNode } from "react";
|
import { ReactNode } from "react";
|
||||||
import EntityManagementTable from "../../../components/client/EntityManagementTable";
|
import EntityManagementTable from "@/components/client/EntityManagementTable";
|
||||||
import PostTable from "@/components/client/admin/PostTable";
|
import PostTable from "@/components/client/admin/PostTable";
|
||||||
import {
|
import {
|
||||||
deletePost,
|
deletePost,
|
||||||
getPostsWithBucketsAndProject,
|
getPostsWithBucketsAndProject,
|
||||||
updatePost,
|
updatePost,
|
||||||
} from "@/app/lib/actions/entityManagement/post/postActions";
|
} from "@/app/lib/actions/entitymanagement/post/postActions";
|
||||||
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions";
|
import { getProjects } from "@/app/lib/actions/entitymanagement/post/projectActions";
|
||||||
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
|
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
|
||||||
import { tryCreateAttachment } from "@/app/api/attachment/route";
|
import { tryCreateAttachment } from "@/app/api/attachment/route";
|
||||||
import { Attributes } from "@sequelize/core";
|
import { Attributes } from "@sequelize/core";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user