XW 2 år sedan
förälder
incheckning
c9baf45e4b
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      TEAMModelOS/ClientApp/src/view/settings/OpenMgmt2.vue

+ 4 - 4
TEAMModelOS/ClientApp/src/view/settings/OpenMgmt2.vue

@@ -259,7 +259,7 @@ export default {
             if (this.apiList && this.openMgInfo && this.openMgInfo.auths) {
                 return this.apiList.filter((item) => {
                     item._checked = this.openMgInfo.auths.includes(item.auth)
-                    return item.type == "r"
+                    return item.type == "R"
                 })
             } else {
                 return []
@@ -270,7 +270,7 @@ export default {
             if (this.apiList && this.openMgInfo && this.openMgInfo.auths) {
                 return this.apiList.filter((item) => {
                     item._checked = this.openMgInfo.auths.includes(item.auth)
-                    return item.type == "w"
+                    return item.type == "W"
                 })
             } else {
                 return []
@@ -364,10 +364,10 @@ export default {
                     return this.openMgInfo.auths.includes(item.auth)
                 })
                 this.apiListSelR = schoolApi.filter((item) => {
-                    return item.type == "r"
+                    return item.type == "R"
                 })
                 this.apiListSelW = schoolApi.filter((item) => {
-                    return item.type == "w"
+                    return item.type == "W"
                 })
             }