diff options
author | 2020-01-30 14:07:25 +0000 | |
---|---|---|
committer | 2020-01-30 14:07:25 +0000 | |
commit | 23f898a96f7e8b3ecb0817abc61612bdc3d2e9aa (patch) | |
tree | fc3118a1cfbfcd5d29f5923914e8e488f16be7b2 /cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.ts | |
parent | da25e1649c9a10f998c8dde068641d7601a3f00a (diff) | |
parent | f2e85fa8183c684322f1f8a34ea9ed4d1f33b169 (diff) |
Merge "package creation store preparation"
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.ts index d4d2b20d0..43b9b503c 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/scripts-tab/scripts-tab.component.ts @@ -43,7 +43,7 @@ export class ScriptsTabComponent implements OnInit { removeFile(fileIndex: number) { console.log(this.uploadedFiles[fileIndex]); - this.packageCreationStore.removeFromState(this.uploadedFiles[fileIndex].name, 'scripts'); + this.packageCreationStore.removeFileFromState(this.uploadedFiles[fileIndex].name); this.uploadedFiles.splice(fileIndex, 1); } |