Skip to content

Commit 42684a2

Browse files
committed
fix: table loading
1 parent 6ba49c7 commit 42684a2

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-sql-gui-ui"
3-
version = "1.0.0-alpha.4"
3+
version = "1.0.0-alpha.5"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "common"
3-
version = "1.0.0-alpha.4"
3+
version = "1.0.0-alpha.5"
44
edition = "2021"
55

66
[dependencies]

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-sql-gui"
3-
version = "1.0.0-alpha.4"
3+
version = "1.0.0-alpha.5"
44
description = "PostgreSQL GUI written in Rust"
55
authors = ["Daniel Boros"]
66
license = ""

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"package": {
1010
"productName": "RSQL",
11-
"version": "1.0.0-alpha.4"
11+
"version": "1.0.0"
1212
},
1313
"tauri": {
1414
"allowlist": {

src/store/projects.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ impl ProjectsStore {
107107
match project {
108108
Project::POSTGRESQL(project) => {
109109
if let Some(tables) = &project.tables {
110-
let tables = tables.get(schema).unwrap();
111-
if !tables.is_empty() {
110+
if let Some(tables) = tables.get(schema) {
112111
return Ok(tables.clone());
113112
}
114113
}

0 commit comments

Comments
 (0)