Merged in bugfix/PMCORE-2597 (pull request #7692)

PMCORE-2597 Importing a configuration when the TLS certificate is not set- does not appears a message about it

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Roly Rudy Gutierrez Pinto
2021-01-04 16:13:35 +00:00
committed by Julio Cesar Laura Avendaño
5 changed files with 23 additions and 3 deletions

View File

@@ -279,6 +279,15 @@
if (response.data.status === "OK") {
this.testStatus = true;
this.buttonLabel = this.$root.translation("ID_SAVE");
if ("message" in response.data) {
this.$bvModal.msgBoxOk(response.data.message, {
title: " ", //is important because title disappear
hideHeaderClose: false,
okTitle: this.$root.translation('ID_OK'),
okVariant: "success",
okOnly: true
});
}
this.$bvModal.msgBoxOk(this.$root.translation('ID_SUCCESSFUL_TEST_CONNECTION'), {
title: " ", //is important because title disappear
hideHeaderClose: false,