isobit-ui 0.2.129 → 0.2.131
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/dist/index.js +5 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.2.
|
|
2
|
+
* isobit-ui v0.2.130
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6280,8 +6280,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6280
6280
|
computed: {
|
|
6281
6281
|
connected: {
|
|
6282
6282
|
get: function get() {
|
|
6283
|
-
return
|
|
6284
|
-
);
|
|
6283
|
+
return this.online && this.session.connected !== false;
|
|
6285
6284
|
},
|
|
6286
6285
|
set: function set(v) {
|
|
6287
6286
|
var me = this;
|
|
@@ -6300,9 +6299,9 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6300
6299
|
}
|
|
6301
6300
|
return _$1._session;
|
|
6302
6301
|
},
|
|
6303
|
-
set: function set(
|
|
6304
|
-
if (!
|
|
6305
|
-
_$1._session =
|
|
6302
|
+
set: function set(session) {
|
|
6303
|
+
if (!session) localStorage.removeItem('session');else localStorage.setItem('session', JSON.stringify(session));
|
|
6304
|
+
_$1._session = session;
|
|
6306
6305
|
}
|
|
6307
6306
|
},
|
|
6308
6307
|
online: function online() {
|