Skip to content

Commit

Permalink
feat(ui): make DashboardEdit.vue overrided components (#6954)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye authored Jan 27, 2025
1 parent 3ce8903 commit 67920c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</template>

<script>
import RouteContext from "../../../mixins/routeContext";
import TopNavBar from "../../../components/layout/TopNavBar.vue";
import DashboardEditor from "./DashboardEditor.vue";
import RouteContext from "../../../../mixins/routeContext.js";
import TopNavBar from "../../../../components/layout/TopNavBar.vue";
import DashboardEditor from "../../../../components/dashboard/components/DashboardEditor.vue";
export default {
mixins: [RouteContext],
Expand Down
2 changes: 1 addition & 1 deletion ui/src/routes/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default [
//Dashboards
{name: "home", path: "/:tenant?/dashboards/:id?", component: () => import("../components/dashboard/Dashboard.vue")},
{name: "dashboards/create", path: "/:tenant?/dashboards/new", component: () => import("../components/dashboard/components/DashboardCreate.vue")},
{name: "dashboards/update", path: "/:tenant?/dashboards/:id/edit", component: () => import("../components/dashboard/components/DashboardEdit.vue")},
{name: "dashboards/update", path: "/:tenant?/dashboards/:id/edit", component: () => import("override/components/dashboard/components/DashboardEdit.vue")},

//Flows
{name: "flows/list", path: "/:tenant?/flows", component: () => import("../components/flows/Flows.vue")},
Expand Down
2 changes: 1 addition & 1 deletion ui/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const manualChunks = {
"dashboard": [
"src/components/dashboard/Dashboard.vue",
"src/components/dashboard/components/DashboardCreate.vue",
"src/components/dashboard/components/DashboardEdit.vue"
"src/override/components/dashboard/components/DashboardEdit.vue"
],
// bundle flows and all its dependencies in a second chunk
"flows": [
Expand Down

0 comments on commit 67920c6

Please sign in to comment.