diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-03-13 16:05:00 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2019-03-13 16:05:06 +0530 |
commit | ae962e15a544e2de946032ce7c4c57cb3c2f335b (patch) | |
tree | 6dbfb9166cda479854786e2d862903c4240ddb75 /cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html | |
parent | 7fff47d76d227a93926802bdee7ed0191c21b0e6 (diff) |
Display alert box on wrong file upload
Implemeted code to display error message to user when user uploads
incorrect file
Issue-ID: CCSDK-1135
Change-Id: I66674391858386ec0579314d2bd1858e7cdbd98e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html index bb00d7f1a..66e3aeb36 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html @@ -22,5 +22,5 @@ limitations under the License. <input type="file" accept=".zip" (change)="fileChanged($event)"> </div> <div> - <button mat-button matStepperNext class="matStepNextBtn" (click)="updateBlueprintState()">Upload</button> + <button mat-button matStepperNext class="matStepNextBtn" (click)="updateBlueprintState()" [disabled]="!validfile">Upload</button> </div>
\ No newline at end of file |