mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-24 15:20:21 +08:00
fix: don't access metadata.credentialless
if it doesn't exist
This commit is contained in:
parent
856688f884
commit
9590bbdad1
@ -575,7 +575,7 @@ function generate_edit_app_section(app) {
|
|||||||
|
|
||||||
<h3 style="border-bottom: 1px solid #EEE; margin-top: 50px; margin-bottom: 0px;">Advanced</h3>
|
<h3 style="border-bottom: 1px solid #EEE; margin-top: 50px; margin-bottom: 0px;">Advanced</h3>
|
||||||
<div style="margin-top:30px;">
|
<div style="margin-top:30px;">
|
||||||
<input type="checkbox" id="edit-app-credentialless" name="edit-app-credentialless" value="true" ${(app.metadata?.credentialless === true || app.metadata === undefined || app.metadata.credentialless === undefined) ? 'checked' : ''}>
|
<input type="checkbox" id="edit-app-credentialless" name="edit-app-credentialless" value="true" ${(app.metadata?.credentialless === true || app.metadata === undefined || app.metadata?.credentialless === undefined) ? 'checked' : ''}>
|
||||||
<label for="edit-app-credentialless" style="display: inline;">Credentialless</label>
|
<label for="edit-app-credentialless" style="display: inline;">Credentialless</label>
|
||||||
<p><code>credentialless</code> attribute for the <code>iframe</code> tag.</p>
|
<p><code>credentialless</code> attribute for the <code>iframe</code> tag.</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user