Add client side app postProcess() to fix postinstall message

This commit is contained in:
Johannes Zellner
2025-03-18 19:04:47 +01:00
parent f6f97e69eb
commit 7d07e34d6b
5 changed files with 116 additions and 65 deletions
+21
View File
@@ -66,6 +66,7 @@ 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;
});
@@ -141,3 +142,23 @@ onMounted(() => {
</div>
</div>
</template>
<style scoped>
.info-edit-indicator {
float: right;
border-radius: 20px;
padding: 5px;
color: var(--pankow-text-color);
background-color: var(--pankow-input-background-color);
transition: all 250ms;
cursor: pointer;
}
.info-edit-indicator:hover {
color: white;
background: var(--pankow-color-primary);
transform: scale(1.2);
}
</style>