summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-03-14 21:41:57 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commit3d9027a914fd132ef2344a0bf07fd35e07aff283 (patch)
treea10fa93ec1d3b43d8d467bc491c5efa78572b617 /templates
parent3a02101e668d6bc1a05d6c6b35708e97d22a104f (diff)
✨ ShareController: catch share error & display ❌
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index bde264f2e..71e070d50 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -133,7 +133,7 @@
ng-click="Share.shareItem(item.id, user.value.shareWith)">
{{ user.label }}
<span class="right" style="margin-top: 0.9em; margin-right: 1em"
- ng-class="{'icon-loading-small': Share.isLoading(user.value.shareWith), 'icon-checkmark': Share.isSuccessful(item.id, user.value.shareWith)}">
+ ng-class="{'icon-loading-small': Share.isLoading(user.value.shareWith), 'icon-checkmark': Share.isStatus(item.id, user.value.shareWith, true), 'icon-close': Share.isStatus(item.id, user.value.shareWith, false)}">
</span>
</a>