From 70a9038355612d42cae96f39ae64af10b07f880f Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Wed, 7 Dec 2022 12:36:04 +0800 Subject: [PATCH] fix issue --- templates/repo/grampus/notebook/show.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/grampus/notebook/show.tmpl b/templates/repo/grampus/notebook/show.tmpl index 5dab94952..8cbc4b9dd 100644 --- a/templates/repo/grampus/notebook/show.tmpl +++ b/templates/repo/grampus/notebook/show.tmpl @@ -363,7 +363,7 @@ {{$Resource := .ComputeResource}} - {{range $.datasetDownload}} + {{range $k,$v := $.datasetDownload}} {{if eq .IsDelete true}} @@ -374,7 +374,7 @@ {{if eq $Resource "NPU"}}
{{.DatasetDownloadLink}}
- {{if .DatasetDownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}} + {{if .DatasetDownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}} {{end}} {{end}}