Skip to content

Commit

Permalink
refactor move schema.js to composables
Browse files Browse the repository at this point in the history
  • Loading branch information
TeodoraPavlova committed May 8, 2024
1 parent 0df05ef commit 3f563c3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Entity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import Tabbing from "@/components/layout/Tabbing";
import PermissionList from "@/components/auth/PermissionList";
import EntityBulkAdd from "@/components/EntityBulkAdd";
import Placeholder from "@/components/layout/Placeholder";
import {useSchema} from "@/store/schema";
import {useSchema} from "@/composables/schema";
import {useRoute} from "vue-router";
import {api} from "@/composables/api";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/EntityBulkEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import BaseLayout from "@/components/layout/BaseLayout";
import EntityForm from "@/components/inputs/EntityForm";
import Placeholder from "@/components/layout/Placeholder";
import {ref, computed, watch} from "vue";
import {useSchema} from "@/store/schema";
import {useSchema} from "@/composables/schema";
import {useRoute} from "vue-router";
import {api} from "@/composables/api";
import {alertStore} from "@/composables/alert";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Schema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import Changes from "@/components/change_review/Changes";
import Tabbing from "@/components/layout/Tabbing";
import PermissionList from "@/components/auth/PermissionList";
import Placeholder from "@/components/layout/Placeholder";
import {useSchema} from "@/store/schema";
import {useSchema} from "@/composables/schema";
import {useRoute} from "vue-router";
const {getSchema, activeSchema} = useSchema();
Expand Down
File renamed without changes.

0 comments on commit 3f563c3

Please sign in to comment.