Stripe potential sso/nosso section when saving postinstall notes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { onMounted, ref, useTemplateRef, inject } from 'vue';
|
||||
import { Button } from '@cloudron/pankow';
|
||||
import { prettyDate } from '@cloudron/pankow/utils';
|
||||
import { stripSsoInfo } from '../../utils.js';
|
||||
import { marked } from 'marked';
|
||||
import AppsModel from '../../models/AppsModel.js';
|
||||
|
||||
@@ -66,6 +67,7 @@ function onDismiss() {
|
||||
onMounted(() => {
|
||||
hasOldChecklist.value = !!Object.keys(props.app.checklist).find((k) => { return props.app.checklist[k].acknowledged; });
|
||||
noteContent.value = props.app.notes === null ? props.app.manifest.postInstallMessage : props.app.notes;
|
||||
|
||||
editing.value = false;
|
||||
busy.value = false;
|
||||
});
|
||||
@@ -131,7 +133,7 @@ onMounted(() => {
|
||||
|
||||
<div>
|
||||
<div v-show="!editing">
|
||||
<div v-if="noteContent" v-html="marked.parse(noteContent)"></div>
|
||||
<div v-if="noteContent" v-html="marked.parse(stripSsoInfo(noteContent, app.sso))"></div>
|
||||
<div v-else class="text-muted hand" @click="onEdit()">{{ placeholder }}</div>
|
||||
</div>
|
||||
<div v-show="editing">
|
||||
|
||||
Reference in New Issue
Block a user