From ce5e62452252146899318d1b9a67a9a4de125479 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Wed, 25 May 2022 18:23:02 +0800 Subject: [PATCH] fix issue --- web_src/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index b7434885e..b9e7165cf 100755 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -3923,7 +3923,7 @@ function initVueDataset() { this.getTypeList() if (!!document.getElementById('dataset-repolink-init')) { - this.cloudbrainType = location.href.indexOf('cloudbrain/train-job/create') !== -1 ? 0 : 1 + this.cloudbrainType = location.href.indexOf('cloudbrain') !== -1 ? 0 : 1 this.getCurrentRepoDataset(this.repolink, this.cloudbrainType) }