@sgcloud-sgsistemas/base 1.0.25 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -34,8 +34,11 @@ const controller = ($scope, $timeout, baseNotificationService, $sce) => {
|
|
|
34
34
|
})
|
|
35
35
|
})
|
|
36
36
|
|
|
37
|
-
const onClickOutside = () => {
|
|
37
|
+
const onClickOutside = (event) => {
|
|
38
38
|
$timeout(() => {
|
|
39
|
+
if ((event.srcElement.id || '').includes('mbg-topbar-notification-show-more')) {
|
|
40
|
+
return
|
|
41
|
+
}
|
|
39
42
|
vm.notificationOpen = false
|
|
40
43
|
$timeout(() => document.removeEventListener('click', onClickOutside))
|
|
41
44
|
})
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<div class="mb"
|
|
2
2
|
tabindex="-1"
|
|
3
|
+
id="mbg-topbar-notification"
|
|
3
4
|
notifications>
|
|
4
5
|
<i class="far fa-bell"
|
|
5
6
|
tabindex="-1"
|
|
@@ -140,6 +141,7 @@
|
|
|
140
141
|
<a class="button-see-more"
|
|
141
142
|
tabindex="-1"
|
|
142
143
|
ng-if="true"
|
|
144
|
+
id="mbg-topbar-notification-show-more-unread"
|
|
143
145
|
ng-click="seeMoreUnread()">
|
|
144
146
|
Ver mais</a>
|
|
145
147
|
</div>
|
|
@@ -220,6 +222,7 @@
|
|
|
220
222
|
<div class="col-md-12 see-more-wrapper" tabindex="-1">
|
|
221
223
|
<a class="button-see-more"
|
|
222
224
|
tabindex="-1"
|
|
225
|
+
id="mbg-topbar-notification-show-more-read"
|
|
223
226
|
ng-if="true"
|
|
224
227
|
ng-click="seeMoreRead()">
|
|
225
228
|
Ver mais</a>
|