tnx-shared 5.1.300 → 5.1.301
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/tnx-shared.umd.js +3 -2
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/components/crud/crud-list/crud-list.component.d.ts.map +1 -1
- package/esm2015/components/crud/crud-list/crud-list.component.js +3 -2
- package/fesm2015/tnx-shared.js +2 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -20995,7 +20995,7 @@
|
|
|
20995
20995
|
};
|
|
20996
20996
|
CrudListComponent.prototype.showContextMenu = function (evt, rowData) {
|
|
20997
20997
|
return __awaiter(this, void 0, void 0, function () {
|
|
20998
|
-
var _b;
|
|
20998
|
+
var _b, showWorkflowAttach;
|
|
20999
20999
|
return __generator(this, function (_c) {
|
|
21000
21000
|
switch (_c.label) {
|
|
21001
21001
|
case 0:
|
|
@@ -21007,7 +21007,8 @@
|
|
|
21007
21007
|
if (!this.setting.disableShare) {
|
|
21008
21008
|
this.buttonContexts.push({ label: 'Chia sẻ', icon: 'pi pi-link', command: this.createShareLink.bind(this) }, { label: 'Danh sách chia sẻ', icon: 'pi pi-list', command: this.showLinkSharing.bind(this) });
|
|
21009
21009
|
}
|
|
21010
|
-
|
|
21010
|
+
showWorkflowAttach = localStorage.getItem('__showWorkflowAttach');
|
|
21011
|
+
if (showWorkflowAttach == 'true') {
|
|
21011
21012
|
this.buttonContexts.push({ label: 'Danh sách công việc', icon: 'pi pi-list', command: this.showAttachedTask.bind(this) });
|
|
21012
21013
|
}
|
|
21013
21014
|
if (this.buttonContexts.length > 0) {
|