Skip to content

Commit

Permalink
chore: release v0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
phcreery committed Jun 18, 2023
1 parent 4e54611 commit c7e69e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "partman",
"private": true,
"version": "0.0.7",
"version": "0.0.8",
"description": "Electronic Component management system",
"author": "phcreery <phcreery@gmail.com>",
"scripts": {
Expand All @@ -12,7 +12,7 @@
"build:client:pro": "vue-tsc --noEmit && vite build --mode production",
"build:server": "cross-env CGO_ENABLED=0 go build",
"build:server:all": "goreleaser release --clean --snapshot",
"build:all": "vue-tsc --noEmit && vite build --mode production && goreleaser release --clean",
"build:all:release": "vue-tsc --noEmit && vite build --mode production && goreleaser release --clean",
"commit": "git pull && git add -A && git-cz && git push --follow-tags"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/api/modules/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -702,11 +702,11 @@ export const postBackupCreate = async (params: Backup.ReqCreateBackupParams) =>
};

export const deleteBackup = async (params: Backup.ReqDeleteBackupParams) => {
await client.backups.delete(params.id);
await client.backups.delete(params.key);
};

export const postBackupRestore = async (params: Backup.ReqRestoreBackupParams) => {
await client.backups.restore(params.id);
await client.backups.restore(params.key);
};

// ---- HEALTH ----
Expand Down
4 changes: 2 additions & 2 deletions src/views/settings/general.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
import { ref, reactive, onMounted } from "vue";
import { ElMessage } from "element-plus";
// import { useAuthButtons } from "@/hooks/useAuthButtons";
import { getConfig, patchConfigUpdate, getBackupsList, getHealth } from "@/api/modules/components";
import { APIdata, Backup, Health } from "@/api/interface/index";
import { getConfig, patchConfigUpdate, getHealth } from "@/api/modules/components";
import { APIdata, Health } from "@/api/interface/index";
const activeTabName = ref("server");
// const backups = ref<APIdata<Backup.ResGetBackupRecord[]>>({});
Expand Down

0 comments on commit c7e69e4

Please sign in to comment.