@things-factory/auth-ui 4.3.108 → 4.3.109

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
- this.showToast('resource failed to update')
368
+ console.error('update fail')
369
369
  } else {
370
370
  this.application = { ...this.application, ...response.data.updateApplication }
371
- this.showToast('resource updated successfully')
371
+ console.log('update sucess')
372
372
  }
373
373
  }
374
374
 
@@ -390,16 +390,12 @@ class Application extends connect(store)(PageView) {
390
390
 
391
391
  const result = response.data.deleteApplication
392
392
  if (result) {
393
- this.showToast('resource deleted successfully')
393
+ console.log('delete sucess')
394
394
  navigate('applications')
395
395
  } else {
396
- this.showToast('resource failed to delete')
396
+ console.error('delete fail')
397
397
  }
398
398
  }
399
-
400
- showToast(message) {
401
- document.dispatchEvent(new CustomEvent('notify', { detail: { message } }))
402
- }
403
399
  }
404
400
 
405
401
  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.108",
3
+ "version": "4.3.109",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -34,10 +34,10 @@
34
34
  "@operato/i18n": "^0.4.6",
35
35
  "@operato/layout": "^0.4.6",
36
36
  "@operato/lottie-player": "^0.4.6",
37
- "@things-factory/auth-base": "^4.3.108",
38
- "@things-factory/i18n-base": "^4.3.108",
39
- "@things-factory/more-base": "^4.3.108",
37
+ "@things-factory/auth-base": "^4.3.109",
38
+ "@things-factory/i18n-base": "^4.3.109",
39
+ "@things-factory/more-base": "^4.3.109",
40
40
  "clipboard": "^2.0.6"
41
41
  },
42
- "gitHead": "8aa8811dd0ebb1f4c1d9bc50fc221766d855c553"
42
+ "gitHead": "a1b81fa991795b27a9f30867347a3c1774d2c41b"
43
43
  }