Skip to content

Commit

Permalink
fix: dashboard build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragory committed Aug 10, 2024
1 parent aafef46 commit f520c6f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dashboard/src/components/dashboard/GuildAccess.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
</template>

<script lang="ts">
import { ApiPermissions, hasPermission } from "@zeppelinbot/shared";
import { ApiPermissions, hasPermission } from "@zeppelinbot/shared/apiPermissions.js";
import PermissionTree from "./PermissionTree.vue";
import { mapState } from "vuex";
import {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/components/dashboard/GuildImportExport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<script lang="ts">
import { mapState } from "vuex";
import { ApiPermissions, hasPermission } from "@zeppelinbot/shared";
import { ApiPermissions, hasPermission } from "@zeppelinbot/shared/apiPermissions.js";
import { AuthState, GuildState } from "../../store/types";
import { ApiError, formPost } from "../../api";
import moment from "moment";
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/components/dashboard/GuildList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<script lang="ts">
import { mapState } from "vuex";
import { ApiPermissions, hasPermission } from "@zeppelinbot/shared";
import { ApiPermissions, hasPermission } from "@zeppelinbot/shared/apiPermissions.js";
import { AuthState, GuildState } from "../../store/types";
export default {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/components/dashboard/PermissionTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</style>

<script lang="ts">
import { ApiPermissions, permissionNames } from "@zeppelinbot/shared";
import { ApiPermissions, permissionNames } from "@zeppelinbot/shared/apiPermissions.js";
import { PropType } from "vue";
import { TPermissionHierarchyWithState } from "./permissionTreeUtils";
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/components/dashboard/permissionTreeUtils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApiPermissions, hasPermission, TPermissionHierarchy } from "@zeppelinbot/shared";
import { ApiPermissions, hasPermission, TPermissionHierarchy } from "@zeppelinbot/shared/apiPermissions.js";

export type TPermissionHierarchyState = {
locked: boolean;
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/store/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApiPermissions } from "@zeppelinbot/shared";
import { ApiPermissions } from "@zeppelinbot/shared/apiPermissions.js";

export enum LoadStatus {
None = 1,
Expand Down

0 comments on commit f520c6f

Please sign in to comment.