Skip to content

Commit

Permalink
fix(details): show loading states for action buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Jun 26, 2024
1 parent 9eb7e5f commit dad3b99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions addon/components/single-document-details.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@
<div>
<UkButton
@size="small"
class="uk-width-1"
@onClick={{this.openWebDAV.perform}}
@loading={{this.openWebDAV.isRunning}}
class="uk-width-1"
data-test-web-dav-button
>
{{t "alexandria.document-details.web-dav"}}
Expand All @@ -203,8 +204,9 @@
<div>
<UkButton
@size="small"
class="uk-width-1"
@onClick={{this.convertDocument.perform}}
@loading={{this.convertDocument.isRunning}}
class="uk-width-1"
data-test-convert-button
>
{{t "alexandria.document-details.convert"}}
Expand Down

0 comments on commit dad3b99

Please sign in to comment.