diff --git a/dashboard/src/components/app/Info.vue b/dashboard/src/components/app/Info.vue index 8e8124c76..2e3ec2d29 100644 --- a/dashboard/src/components/app/Info.vue +++ b/dashboard/src/components/app/Info.vue @@ -23,7 +23,11 @@ const placeholder = 'Add admin notes here...'; const noteContent = ref(''); async function onAckChecklistItem(item, key) { - // TODO + const [error] = await appsModel.ackChecklistItem(id.value, key, true); + if (error) return console.error(error); + + item.acknowledged = true; + hasOldChecklist.value = true; } async function onSubmit() { @@ -66,7 +70,6 @@ onMounted(() => { checklist.value = app.checklist; hasOldChecklist.value = !!Object.keys(app.checklist).find((k) => { return app.checklist[k].acknowledged; }); noteContent.value = app.notes === null ? app.manifest.postInstallMessage : app.notes; - console.log(app.manifest.postInstallMessage) editing.value = false; busy.value = false; }); @@ -75,24 +78,6 @@ onMounted(() => {