From c75763c08e1d351dcd123dc59d3dde29e5b83582 Mon Sep 17 00:00:00 2001 From: colorfulberry Date: Thu, 4 Jun 2020 15:01:42 +0800 Subject: [PATCH] feat: fix the router dataset allowed types --- routers/repo/dataset.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/repo/dataset.go b/routers/repo/dataset.go index 6db1b74b0..33d949702 100644 --- a/routers/repo/dataset.go +++ b/routers/repo/dataset.go @@ -77,6 +77,7 @@ func DatasetIndex(ctx *context.Context) { ctx.Data["dataset"] = dataset ctx.Data["Attachments"] = attachments ctx.Data["IsOwner"] = true + renderAttachmentSettings(ctx) ctx.HTML(200, tplIndex) }