FIX: edit button not working (#379)

After this PR <a> link stopped working correctly page started doing a full reload. <Button> component behaves correctly.

https://github.com/discourse/discourse-data-explorer/pull/376
This commit is contained in:
Krzysztof Kotlarek
2025-06-11 14:01:11 +08:00
committed by GitHub
parent 85b485e1bf
commit 6727e32874
4 changed files with 18 additions and 10 deletions
@@ -320,7 +320,7 @@ acceptance("Data Explorer Plugin | Run Query", function (needs) {
await visit("/admin/plugins/explorer/queries/2");
assert
.dom("div.name h1")
.dom("div.name h1 span")
.hasText("What about 0?", "the query name was rendered");
assert