"template/testdata/vscode:/vscode.git/clone" did not exist on "cf15589851cf87e46f3a8b3bdb70934b83fd8338"
Commit 7cec88c7 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent 340b399f
......@@ -89,12 +89,16 @@
valves = null;
valves_spec = null;
if (PIPELINES_LIST.length > 0) {
pipelines = await getPipelines(localStorage.token, selectedPipelinesUrlIdx);
if (pipelines.length > 0) {
selectedPipelineIdx = 0;
await getValves(selectedPipelineIdx);
}
} else {
pipelines = [];
}
};
const addPipelineHandler = async () => {
......@@ -136,6 +140,7 @@
onMount(async () => {
PIPELINES_LIST = await getPipelinesList(localStorage.token);
console.log(PIPELINES_LIST);
if (PIPELINES_LIST.length > 0) {
selectedPipelinesUrlIdx = PIPELINES_LIST[0]['idx'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment