Skip to content

Commit 406879f

Browse files
authored
ui: fix missing click handler on QA review 'cancel' button (#2103)
quick fix: add a handler to close the dialog as expected
1 parent 8192e5b commit 406879f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/pages/org/archived-item-qa/archived-item-qa.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,9 @@ export class ArchivedItemQA extends BtrixElement {
688688
</form>
689689
690690
<div slot="footer" class="flex justify-between">
691-
<sl-button size="small">${msg("Cancel")}</sl-button>
691+
<sl-button size="small" @click=${() => void this.reviewDialog?.hide()}
692+
>${msg("Cancel")}</sl-button
693+
>
692694
<sl-button
693695
variant="primary"
694696
size="small"

0 commit comments

Comments
 (0)