@firestitch/app-message 12.6.1 → 12.6.2
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/bundles/firestitch-app-message.umd.js +16 -18
- package/bundles/firestitch-app-message.umd.js.map +1 -1
- package/esm2015/app/modules/messages/components/attachments/attachments.component.js +17 -19
- package/fesm2015/firestitch-app-message.js +16 -18
- package/fesm2015/firestitch-app-message.js.map +1 -1
- package/package.json +1 -1
|
@@ -123,28 +123,26 @@
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
if (this._config.downloadMessageAttachment) {
|
|
126
|
-
this.config.rowActions
|
|
127
|
-
{
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
},
|
|
131
|
-
label: 'Download',
|
|
126
|
+
this.config.rowActions
|
|
127
|
+
.push({
|
|
128
|
+
click: function (data) {
|
|
129
|
+
return _this._config.downloadMessageAttachment(data);
|
|
132
130
|
},
|
|
133
|
-
|
|
131
|
+
label: 'Download',
|
|
132
|
+
});
|
|
134
133
|
}
|
|
135
134
|
if (this._config.deleteMessageAttachment) {
|
|
136
|
-
this.config.rowActions
|
|
137
|
-
{
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
},
|
|
141
|
-
remove: {
|
|
142
|
-
title: 'Confirm',
|
|
143
|
-
template: 'Are you sure you would like to delete this template?',
|
|
144
|
-
},
|
|
145
|
-
label: 'Delete',
|
|
135
|
+
this.config.rowActions
|
|
136
|
+
.push({
|
|
137
|
+
click: function (data) {
|
|
138
|
+
return _this._config.deleteMessageAttachment(data);
|
|
146
139
|
},
|
|
147
|
-
|
|
140
|
+
remove: {
|
|
141
|
+
title: 'Confirm',
|
|
142
|
+
template: 'Are you sure you would like to delete this template?',
|
|
143
|
+
},
|
|
144
|
+
label: 'Delete',
|
|
145
|
+
});
|
|
148
146
|
}
|
|
149
147
|
};
|
|
150
148
|
AttachmentsComponent.prototype.ngOnDestroy = function () {
|