aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui
diff options
context:
space:
mode:
authorMaciej Malewski <maciej.malewski@nokia.com>2021-01-29 13:40:17 +0100
committerMaciej Malewski <maciej.malewski@nokia.com>2021-01-29 13:42:15 +0100
commit042fd65934cebd6447ba3f08571d4bf8a635b665 (patch)
tree13a406f97850d5541e760ad51e019817a6d60976 /catalog-ui
parentf6fa8c64c4cb4d9607deedd7339b8e74d224c7b8 (diff)
Change popup delay time and rename it's "cancel" to "OK" button.
Issue-ID: SDC-3390 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Change-Id: I158b85212140212a47079a1928c9f0d192fa836c
Diffstat (limited to 'catalog-ui')
-rw-r--r--catalog-ui/configurations/dev.js2
-rw-r--r--catalog-ui/configurations/prod.js2
-rw-r--r--catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/catalog-ui/configurations/dev.js b/catalog-ui/configurations/dev.js
index 26c98d2c6e..309a63baa5 100644
--- a/catalog-ui/configurations/dev.js
+++ b/catalog-ui/configurations/dev.js
@@ -430,7 +430,7 @@ const SDC_CONFIG = {
]
},
- "displayAlertValidationAfterMilisec": 3000
+ "displayAlertValidationAfterMilisec": 10000
};
module.exports = SDC_CONFIG;
diff --git a/catalog-ui/configurations/prod.js b/catalog-ui/configurations/prod.js
index 028c44c99e..715b9a972e 100644
--- a/catalog-ui/configurations/prod.js
+++ b/catalog-ui/configurations/prod.js
@@ -430,7 +430,7 @@ const SDC_CONFIG = {
]
},
- "displayAlertValidationAfterMilisec": 3000
+ "displayAlertValidationAfterMilisec": 10000
};
module.exports = SDC_CONFIG;
diff --git a/catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts b/catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts
index 8c5280d85c..6a9b328d4e 100644
--- a/catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts
+++ b/catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts
@@ -58,7 +58,7 @@ export class ArtifactsService {
const onOkPressed = () => {
const updatedArtifact = modalInstance.innerModalContent.instance.artifact;
this.serviceLoader.activate();
- this.modalAlertservice.openDelayedAlertModal('Please be patient', 'Large files processing may take up to several minutes.', 'Cancel');
+ this.modalAlertservice.openDelayedAlertModal('Please be patient', 'Large files processing may take up to several minutes.', 'OK');
this.dispatchArtifactAction(componentId, componentType, updatedArtifact, artifactType, instanceId, resourceType)
.subscribe().add(() => {
this.serviceLoader.deactivate();