File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ edition = "2021"
5
5
6
6
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
7
[dependencies ]
8
- leptos = { version = " 0.6.5 " , features = [" csr" , " nightly" ] }
8
+ leptos = { version = " 0.6.6 " , features = [" csr" , " nightly" ] }
9
9
leptos_devtools = { git = " https://github.com/luoxiaozero/leptos-devtools" }
10
10
serde = { version = " 1.0.192" , features = [" derive" ] }
11
11
serde-wasm-bindgen = " 0.6.3"
12
12
wasm-bindgen = { version =" 0.2.91" , features = [" serde-serialize" ] }
13
13
js-sys = " 0.3.68"
14
- leptos-use = { version = " 0.10.2 " , features = [" serde" , " serde_json" ]}
14
+ leptos-use = { version = " 0.10.3 " , features = [" serde" , " serde_json" ]}
15
15
leptos_icons = " 0.3.0" # https://carlosted.github.io/icondata/
16
16
serde_json = " 1.0.113"
17
17
wasm-bindgen-futures = " 0.4.39"
18
18
monaco = " 0.4.0"
19
19
tauri-sys = { git = " https://github.com/JonasKruckenberg/tauri-sys" , features = [" all" ] }
20
- thaw = { version = " 0.2.0-beta " , features = [" csr" ] }
20
+ thaw = { version = " 0.2.1 " , features = [" csr" ] }
21
21
common = { path = " common" }
22
22
futures = " 0.3.30"
23
23
async-stream = " 0.3.5"
Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ edition = "2021"
10
10
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
11
11
12
12
[build-dependencies ]
13
- tauri-build = { version = " 1.5" , features = [] }
13
+ tauri-build = { version = " 1.5.1 " , features = [] }
14
14
15
15
[dependencies ]
16
16
common = { path = " ../common" }
17
- tauri = { version = " 1.5.2 " , features = [ " shell-open" , " fs-all" ] }
17
+ tauri = { version = " 1.6.0 " , features = [ " shell-open" , " fs-all" ] }
18
18
serde = { version = " 1.0.193" , features = [" derive" ] }
19
19
serde_json = " 1.0.108"
20
- tokio = " 1.34 .0"
20
+ tokio = " 1.36 .0"
21
21
tokio-postgres = " 0.7.10"
22
22
chrono = " 0.4.31"
23
23
sled = " 0.34.7"
24
- tauri-plugin-context-menu = " 0.7.0 "
24
+ tauri-plugin-context-menu = " 0.7.1 "
25
25
26
26
27
27
Original file line number Diff line number Diff line change 1
1
use leptos:: * ;
2
- use thaw:: { Button , Tab , Tabs } ;
2
+ use thaw:: { Button , Tab , TabLabel , Tabs } ;
3
3
4
4
use crate :: {
5
5
enums:: QueryTableLayout ,
@@ -40,6 +40,12 @@ pub fn App() -> impl IntoView {
40
40
children=move |index| {
41
41
view! {
42
42
<Tab key=index. to_string( ) >
43
+ <TabLabel class="p-0" slot>
44
+ <div class="flex flex-row items-center justify-between w-20" >
45
+ <div>{ ( index + 1 ) . to_string( ) } </div>
46
+ <button class="rounded-md text-xs" >X </button>
47
+ </div>
48
+ </TabLabel >
43
49
<QueryEditor />
44
50
<QueryTable />
45
51
</Tab >
You can’t perform that action at this time.
0 commit comments