ui: fix missing click handler on QA review 'cancel' button (#2103)

quick fix: add a handler to close the dialog as expected
This commit is contained in:
Ilya Kreymer 2024-10-04 17:35:26 -07:00 committed by GitHub
parent 8192e5bed6
commit 406879f2f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -688,7 +688,9 @@ export class ArchivedItemQA extends BtrixElement {
</form>
<div slot="footer" class="flex justify-between">
<sl-button size="small">${msg("Cancel")}</sl-button>
<sl-button size="small" @click=${() => void this.reviewDialog?.hide()}
>${msg("Cancel")}</sl-button
>
<sl-button
variant="primary"
size="small"