v9.20: fix ReferenceError getToken is not defined
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: cloud-dashboard
|
- name: cloud-dashboard
|
||||||
image: naeel/cloud-dashboard:v9.19
|
image: naeel/cloud-dashboard:v9.20
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|||||||
@@ -621,6 +621,10 @@ function renderInstanceGraph(uid){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function getToken(){
|
||||||
|
return localStorage.getItem("deck_token") || "";
|
||||||
|
}
|
||||||
|
|
||||||
function getDeckEnv(){
|
function getDeckEnv(){
|
||||||
return localStorage.getItem("deck_env") || "test";
|
return localStorage.getItem("deck_env") || "test";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user