@progressive-development/pd-dialog 0.0.15 → 0.0.16

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
@@ -3,7 +3,7 @@
3
3
  "description": "Progressive Development dialog components.",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.0.15",
6
+ "version": "0.0.16",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -117,6 +117,10 @@ export class PdSubmitDialog extends LitElement {
117
117
  if (changedProps.has('status')) {
118
118
  if (this.status === STATUS_SEND_SUCCESS) {
119
119
 
120
+ this._buttons = [
121
+ {name: 'Close'},];
122
+
123
+ /*
120
124
  if (this.type === 'mail') {
121
125
  this._buttons = [
122
126
  {name: 'Close Popup'},];
@@ -128,6 +132,7 @@ export class PdSubmitDialog extends LitElement {
128
132
  key: 10
129
133
  },];
130
134
  }
135
+ */
131
136
 
132
137
  } else if (this.status === STATUS_SEND_FAILED) {
133
138
  this._buttons = [];