From 9e121ef0c84cec7b55e5830e2d1a79c64a99ce32 Mon Sep 17 00:00:00 2001 From: Anthony Woods Date: Thu, 21 Jan 2016 02:21:30 +0800 Subject: [PATCH 1/2] add save button to config page configView directives can update the appModel object. We need a save button to persist the updates. --- public/app/features/apps/partials/edit.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/app/features/apps/partials/edit.html b/public/app/features/apps/partials/edit.html index aae34b8b38d..20df40bd247 100644 --- a/public/app/features/apps/partials/edit.html +++ b/public/app/features/apps/partials/edit.html @@ -98,6 +98,8 @@
+
+
From 1bca28ad12478dc2bbefb759bde00c337e0783f9 Mon Sep 17 00:00:00 2001 From: Anthony Woods Date: Thu, 21 Jan 2016 02:23:24 +0800 Subject: [PATCH 2/2] include the jsonData in the AppSettings DTO --- pkg/api/dtos/apps.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/api/dtos/apps.go b/pkg/api/dtos/apps.go index b2b33370135..d10883a26d7 100644 --- a/pkg/api/dtos/apps.go +++ b/pkg/api/dtos/apps.go @@ -31,6 +31,7 @@ func NewAppSettingsDto(def *plugins.AppPlugin, data *models.AppSettings) *AppSet dto.Enabled = data.Enabled dto.Pinned = data.Pinned dto.Info = &def.Info + dto.JsonData = data.JsonData } return dto