From ea376f5ba715112529f37e1ec24c6bf86b6489bb Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Wed, 7 Jun 2023 21:12:09 +0200 Subject: [PATCH] Fix host/database selection bug in grid --- CHANGELOG.md | 10 +++-- frontend/package.json.md5 | 2 +- frontend/src/components/grid-items.svelte | 21 +++------- frontend/src/lib/objects.js | 16 +++++++- .../src/organisms/connection/hosttree.svelte | 39 +++++++++++++------ 5 files changed, 57 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c657abb..9161fa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,17 @@ ## Unreleased -* Added version number of the running Rolens instance in the about dialog (#25, #28) +* Added version number of the running Rolens instance in the about dialog (#25, #28). +* Fixed host/database selection bug in grid. -## [v0.2.0](https://github.com/garraflavatra/rolens/releases/tag/v0.2.0) +## [v0.2.0] * Added some external links related to Rolens to the application menu. * Fix an infinite loop bug when a document in the find view has been double clicked. * Find view: added the ability to make changes to single documents from within the object editor. -## [v0.1.0](https://github.com/garraflavatra/rolens/releases/tag/v0.1.0) +## [v0.1.0] Initial release. + +[v0.2.0]: https://github.com/garraflavatra/rolens/releases/tag/v0.2.0 +[v0.1.0]: https://github.com/garraflavatra/rolens/releases/tag/v0.1.0 diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index 0559e98..8325a43 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -541b97f7203adc96312cfd007c0d8b97 \ No newline at end of file +21089cd8ec83c35046acb2c9ab02da9e \ No newline at end of file diff --git a/frontend/src/components/grid-items.svelte b/frontend/src/components/grid-items.svelte index ba0a64f..4b6263e 100644 --- a/frontend/src/components/grid-items.svelte +++ b/frontend/src/components/grid-items.svelte @@ -1,5 +1,5 @@ @@ -98,6 +115,7 @@ ({ id: hostKey, name: $hosts[hostKey].name, @@ -136,7 +154,6 @@ { label: `Remove host…`, fn: () => removeHost(hostKey) }, ], }))} - bind:activePath={activeGridPath} on:select={e => { const key = e.detail.itemKey; switch (e.detail?.level) {