From 6dfb22dd11d3fe7031507aba5d7d095c8a90466a Mon Sep 17 00:00:00 2001 From: cuigh Date: Thu, 12 Oct 2017 18:05:48 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=20mount=E2=80=99s=20read-only=20attr=20w?= =?UTF-8?q?hen=20editing=20service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/_modules/service.jet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/_modules/service.jet b/views/_modules/service.jet index 788dd63..53df41c 100644 --- a/views/_modules/service.jet +++ b/views/_modules/service.jet @@ -194,7 +194,7 @@
- {{ yield select(name="mounts["+i+"].read_only", values=slice("false", "true"), labels=slice("No", "Yes"), selected=m.Type, dt="bool") }} + {{ yield select(name="mounts["+i+"].read_only", values=slice("false", "true"), labels=slice("No", "Yes"), selected=m.ReadOnly, dt="bool") }}