Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ziteh committed Jul 13, 2024
2 parents 556e4e8 + ba14bfe commit d158230
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions elebox-tauri/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "elebox",
"private": true,
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.1",
"type": "module",
"scripts": {
"tauri dev": "tauri dev",
Expand All @@ -25,4 +25,4 @@
"vite": "^5.0.12",
"vue-tsc": "^1.8.5"
}
}
}
2 changes: 1 addition & 1 deletion elebox-tauri/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "elebox"
version = "1.0.0-alpha.1"
version = "1.0.0-beta.1"
license = "MIT OR Apache-2.0"
description = "Lightweight personal electronic parts inventory management tool"
repository = "https://github.com/ziteh/elebox"
Expand Down
2 changes: 1 addition & 1 deletion elebox-tauri/src/components/TreeItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defineProps({
</script>

<template>
<v-list selectable="true" select-strategy="classic" variant="plain">
<v-list selectable select-strategy="classic" variant="plain">
<v-list-item
color="primary"
v-for="n in nodes!"
Expand Down
7 changes: 4 additions & 3 deletions elebox-tauri/src/views/CategoriesTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import { TreeNode } from "../interface";
const catNodes = ref<TreeNode[]>([]);
async function getCategories() {
const cs = await invoke("get_tree", {});
console.log(cs);
catNodes.value = cs;
// const cs = await invoke("get_tree", {});
// console.log(cs);
// catNodes.value = cs;
catNodes.value = await invoke("get_tree", {});
}
onMounted(async () => {
Expand Down
2 changes: 1 addition & 1 deletion elebox-tauri/src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function import_csv() {
<div class="flex-fill"></div>
<div class="d-flex align-end ga-2 mt-auto">
<v-label>Version</v-label>
<code>1.0.0-alpha.1</code>
<code>1.0.0-beta.1</code>
</div>
</v-container>
</template>

0 comments on commit d158230

Please sign in to comment.