Skip to content

Commit 2f6435b

Browse files
committed
Fix hamburger disable
1 parent 6e1a251 commit 2f6435b

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dowork",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "",
55
"type": "module",
66
"scripts": {

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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 = "dowork"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
description = "A Tauri App"
55
authors = ["you"]
66
edition = "2021"

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "DoWork",
4-
"version": "0.1.6",
4+
"version": "0.1.7",
55
"identifier": "com.mike616.dowork",
66
"build": {
77
"beforeDevCommand": "pnpm dev",

src/lib/components/HamburgerMenu.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121

2222
<button
2323
class="btn {btnClasses}"
24-
popovertarget={disabled ? undefined : `popover-${id}`}
24+
popovertarget="popover-{id}"
2525
style={`anchor-name:--anchor-${id}`}
26+
{disabled}
2627
>
2728
{#if Icon}
2829
<Icon />
@@ -35,7 +36,7 @@
3536
bind:this={popoverElement}
3637
class="dropdown menu rounded-box bg-base-100 w-52 shadow-sm"
3738
popover
38-
id={`popover-${id}`}
39+
id="popover-{id}"
3940
style={`position-anchor:--anchor-${id}`}
4041
>
4142
{#each items as item}

0 commit comments

Comments
 (0)