@things-factory/auth-ui 4.3.131 → 4.3.142
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.
|
@@ -365,10 +365,10 @@ class Application extends connect(store)(PageView) {
|
|
|
365
365
|
})
|
|
366
366
|
|
|
367
367
|
if (response.errors) {
|
|
368
|
-
|
|
368
|
+
this.showToast('resource failed to update')
|
|
369
369
|
} else {
|
|
370
370
|
this.application = { ...this.application, ...response.data.updateApplication }
|
|
371
|
-
|
|
371
|
+
this.showToast('resource updated successfully')
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
|
|
@@ -390,12 +390,16 @@ class Application extends connect(store)(PageView) {
|
|
|
390
390
|
|
|
391
391
|
const result = response.data.deleteApplication
|
|
392
392
|
if (result) {
|
|
393
|
-
|
|
393
|
+
this.showToast('resource deleted successfully')
|
|
394
394
|
navigate('applications')
|
|
395
395
|
} else {
|
|
396
|
-
|
|
396
|
+
this.showToast('resource failed to delete')
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
+
|
|
400
|
+
showToast(message) {
|
|
401
|
+
document.dispatchEvent(new CustomEvent('notify', { detail: { message } }))
|
|
402
|
+
}
|
|
399
403
|
}
|
|
400
404
|
|
|
401
405
|
window.customElements.define('application-page', Application)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/auth-ui",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.142",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@operato/i18n": "^0.4.6",
|
|
34
34
|
"@operato/layout": "^0.4.6",
|
|
35
35
|
"@operato/lottie-player": "^0.4.6",
|
|
36
|
-
"@things-factory/auth-base": "^4.3.
|
|
37
|
-
"@things-factory/i18n-base": "^4.3.
|
|
38
|
-
"@things-factory/more-base": "^4.3.
|
|
36
|
+
"@things-factory/auth-base": "^4.3.142",
|
|
37
|
+
"@things-factory/i18n-base": "^4.3.142",
|
|
38
|
+
"@things-factory/more-base": "^4.3.142",
|
|
39
39
|
"clipboard": "^2.0.6"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1698c58d948310a02ad506564f90e71d776943f4"
|
|
42
42
|
}
|