@sgcloud-sgsistemas/base 1.0.25 → 1.0.26

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sgcloud-sgsistemas/base",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Base para os sistemas da mobiage",
5
5
  "repository": {
6
6
  "type": "private",
@@ -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 == '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"
@@ -220,6 +221,7 @@
220
221
  <div class="col-md-12 see-more-wrapper" tabindex="-1">
221
222
  <a class="button-see-more"
222
223
  tabindex="-1"
224
+ id="mbg-topbar-notification-show-more"
223
225
  ng-if="true"
224
226
  ng-click="seeMoreRead()">
225
227
  Ver mais</a>