From 5c07052849e56e82ad5a8cc408d0fed6ddf9927f Mon Sep 17 00:00:00 2001 From: SelfhostedPro Date: Tue, 6 Oct 2020 11:38:26 -0700 Subject: [PATCH] added notes to deploy form --- .../applications/ApplicationsForm.vue | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/applications/ApplicationsForm.vue b/frontend/src/components/applications/ApplicationsForm.vue index b6c1f582..1026c8b3 100644 --- a/frontend/src/components/applications/ApplicationsForm.vue +++ b/frontend/src/components/applications/ApplicationsForm.vue @@ -11,6 +11,10 @@ mdi-plus From Template + + Note: + + { + .catch((err) => { this.isLoading = false; this.setErr(err); }); @@ -775,8 +779,9 @@ export default { devices: app.devices || [], labels: app.labels || [], sysctls: app.sysctls || [], - cap_add: app.cap_add || [] + cap_add: app.cap_add || [], }; + this.notes = app.notes || null; } catch (error) { console.error(error, error.response); this.setErr(error); @@ -784,11 +789,11 @@ export default { } else { console.log("No app selected"); } - } + }, }, async created() { await this.populateForm(); - } + }, };