chenmy 1 år sedan
förälder
incheckning
b39f215c12
1 ändrade filer med 4 tillägg och 3 borttagningar
  1. 4 3
      TEAMModelOS/ClientApp/src/common/BaseLayout.vue

+ 4 - 3
TEAMModelOS/ClientApp/src/common/BaseLayout.vue

@@ -415,16 +415,17 @@ export default {
           this.edition = "pro";
           this.systemLevel = this.$t("system.flagship");
         } else if (
-          resultVersions === "undefined" ||
+          resultVersions === undefined &&
           resultService !== "undefined"
         ) {
           this.edition = "standard";
           this.systemLevel = this.$t("system.advanced");
         } else if (
-          resultVersions === "undefined" ||
-          resultService === "undefined"
+          resultVersions === undefined &&
+          resultService === undefined
         ) {
           this.edition = "basic";
+
           this.systemLevel = this.$t("system.basic");
         } else {
           this.edition = "basic";