diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-03-14 21:41:57 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | 3d9027a914fd132ef2344a0bf07fd35e07aff283 (patch) | |
tree | a10fa93ec1d3b43d8d467bc491c5efa78572b617 /templates | |
parent | 3a02101e668d6bc1a05d6c6b35708e97d22a104f (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.php | 2 |
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> |