Skip to content

Commit dad3b99

Browse files
committed
fix(details): show loading states for action buttons
1 parent 9eb7e5f commit dad3b99

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

addon/components/single-document-details.hbs

+4-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@
190190
<div>
191191
<UkButton
192192
@size="small"
193-
class="uk-width-1"
194193
@onClick={{this.openWebDAV.perform}}
194+
@loading={{this.openWebDAV.isRunning}}
195+
class="uk-width-1"
195196
data-test-web-dav-button
196197
>
197198
{{t "alexandria.document-details.web-dav"}}
@@ -203,8 +204,9 @@
203204
<div>
204205
<UkButton
205206
@size="small"
206-
class="uk-width-1"
207207
@onClick={{this.convertDocument.perform}}
208+
@loading={{this.convertDocument.isRunning}}
209+
class="uk-width-1"
208210
data-test-convert-button
209211
>
210212
{{t "alexandria.document-details.convert"}}

0 commit comments

Comments
 (0)