Stripe potential sso/nosso section when saving postinstall notes

This commit is contained in:
Johannes Zellner
2025-07-14 15:00:44 +02:00
parent aca85b63ae
commit 15c25329b6
3 changed files with 13 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
import { ref, useTemplateRef } from 'vue';
import { marked } from 'marked';
import { Dialog } from '@cloudron/pankow';
import { stripSsoInfo } from '../utils.js';
const dialog = useTemplateRef('dialog');
const app = ref(null);
@@ -45,7 +46,7 @@ defineExpose({
</div>
</div>
<div v-if="app.manifest.postInstallMessage" v-html="marked.parse(app.manifest.postInstallMessage)"></div>
<div v-if="app.manifest.postInstallMessage" v-html="marked.parse(stripSsoInfo(app.manifest.postInstallMessage, app.sso))"></div>
<div v-if="app.manifest.documentationUrl" v-html="$t('app.appInfo.appDocsUrl', { docsUrl: app.manifest.documentationUrl, title: app.manifest.title, forumUrl: (app.manifest.forumUrl || 'https://forum.cloudron.io') })"></div>
<div class="app-info-checklist" v-show="hasPendingChecklistItems">