@sgcloud-sgsistemas/base 1.0.12 → 1.0.14
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
|
@@ -71,10 +71,6 @@ const controller = function ($timeout, MbgNotification, $element) {
|
|
|
71
71
|
const durationWait = $timeout(() => {
|
|
72
72
|
MbgNotification.closeFloatNotif(config.id);
|
|
73
73
|
}, config.duration);
|
|
74
|
-
// const soundWait = $timeout(() => {
|
|
75
|
-
// mouthPop.play();
|
|
76
|
-
// }, 100);
|
|
77
|
-
// timeouts.push(soundWait);
|
|
78
74
|
const activeWait = $timeout(() => {
|
|
79
75
|
element.children('.mb-n-container').children('.mb[mb-notification]').addClass('mb-n-active');
|
|
80
76
|
});
|
|
@@ -172,7 +172,7 @@ const controller = function ($scope, $timeout, mbSidemenuService, hotkeys) {
|
|
|
172
172
|
/* Busca por cada tipo de dado indexável */
|
|
173
173
|
indexes.forEach((index) => {
|
|
174
174
|
/* Caso tenha o dado indexável */
|
|
175
|
-
if (index.name in element) {
|
|
175
|
+
if (index.name in element && !!element[index.name]) {
|
|
176
176
|
const string = element[index.name].toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
|
177
177
|
const tmpSearchString = searchString.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
|
178
178
|
/* Procura pela string digitada */
|