fix(apps): Add back `<main>` element to dashboard and settings

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/50127/head
Ferdinand Thiessen 2025-01-13 08:48:13 +07:00
parent 182acb1e29
commit dff4412251
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
2 changed files with 4 additions and 4 deletions

@ -3,7 +3,7 @@
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div id="app-dashboard">
<main id="app-dashboard">
<h2>{{ greeting.text }}</h2>
<ul class="statuses">
<li v-for="status in sortedRegisteredStatus"
@ -127,7 +127,7 @@
</div>
</div>
</NcModal>
</div>
</main>
</template>
<script>

@ -66,6 +66,6 @@ script('core', 'setupchecks');
</ul>
</nav>
</div>
<div id="app-content" <?php if (!empty($_['activeSectionId'])) { ?> data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" <?php } if (!empty($_['activeSectionType'])) { ?> data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>" <?php } ?>>
<main id="app-content" <?php if (!empty($_['activeSectionId'])) { ?> data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" <?php } if (!empty($_['activeSectionType'])) { ?> data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>" <?php } ?>>
<?php print_unescaped($_['content']); ?>
</div>
</main>