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