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

This commit is contained in:
Roly Rudy Gutierrez Pinto
2021-01-04 10:25:32 -04:00
parent 5ee01f86de
commit a6e3cff4d7
5 changed files with 23 additions and 3 deletions

View File

@@ -283,6 +283,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,