Add loading spinner when duplicating a list

This commit is contained in:
kolaente 2020-07-14 21:33:54 +02:00
parent 3874355953
commit cf203faf01
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -113,7 +113,11 @@
<namespace-search @selected="selectNamespace"/> <namespace-search @selected="selectNamespace"/>
</p> </p>
<p class="control"> <p class="control">
<button type="submit" class="button is-success" @click="duplicateList"> <button
type="submit"
class="button is-success"
@click="duplicateList"
:class="{'is-loading': listDuplicateService.loading}">
<span class="icon is-small"> <span class="icon is-small">
<icon icon="plus"/> <icon icon="plus"/>
</span> </span>