mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix error when selecting set in theme
Some checks failed
Commit Message Check / Check Commit Message (push) Has been cancelled
Some checks failed
Commit Message Check / Check Commit Message (push) Has been cancelled
This commit is contained in:
@@ -58,6 +58,7 @@
|
|||||||
- Fix adding/removing identical text fills [Taiga #12287](https://tree.taiga.io/project/penpot/issue/12287)
|
- Fix adding/removing identical text fills [Taiga #12287](https://tree.taiga.io/project/penpot/issue/12287)
|
||||||
- Fix scroll on the inspect tab [Taiga #12293](https://tree.taiga.io/project/penpot/issue/12293)
|
- Fix scroll on the inspect tab [Taiga #12293](https://tree.taiga.io/project/penpot/issue/12293)
|
||||||
- Fix lock proportion tooltip [Taiga #12326](https://tree.taiga.io/project/penpot/issue/12326)
|
- Fix lock proportion tooltip [Taiga #12326](https://tree.taiga.io/project/penpot/issue/12326)
|
||||||
|
- Fix internal Error when selecting a set by name in the token theme editor [Taiga #12310](https://tree.taiga.io/project/penpot/issue/12310)
|
||||||
|
|
||||||
|
|
||||||
## 2.10.1
|
## 2.10.1
|
||||||
|
|||||||
@@ -864,6 +864,12 @@ test.describe("Tokens: Themes modal", () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const firstButton = await tokenThemeUpdateCreateModal
|
||||||
|
.getByTestId('tokens-set-item')
|
||||||
|
.first();
|
||||||
|
|
||||||
|
await firstButton.click();
|
||||||
|
|
||||||
await tokenThemeUpdateCreateModal
|
await tokenThemeUpdateCreateModal
|
||||||
.getByRole("button", {
|
.getByRole("button", {
|
||||||
name: "Save theme",
|
name: "Save theme",
|
||||||
|
|||||||
@@ -319,7 +319,8 @@
|
|||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(mf/deps on-toggle-token-set)
|
(mf/deps on-toggle-token-set)
|
||||||
(fn [set-id]
|
(fn [set-id]
|
||||||
(on-toggle-token-set set-id)))]
|
(let [set (ctob/get-set lib set-id)]
|
||||||
|
(on-toggle-token-set (ctob/get-name set)))))]
|
||||||
|
|
||||||
[:div {:class (stl/css :themes-modal-wrapper)}
|
[:div {:class (stl/css :themes-modal-wrapper)}
|
||||||
[:> heading* {:level 2 :typography "headline-medium" :class (stl/css :themes-modal-title)}
|
[:> heading* {:level 2 :typography "headline-medium" :class (stl/css :themes-modal-title)}
|
||||||
|
|||||||
Reference in New Issue
Block a user