diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-04-21 14:55:32 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-04-21 20:00:29 +0300 |
commit | d1dfdfe7998a3c77a22ebba01be90747744c8ac9 (patch) | |
tree | a032d289f15094cc92dd86b86b5ae3646d2fd429 /core | |
parent | 3c75a9926716484020544046f03bfad1c6712cfe (diff) |
Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/views/UnifiedSearch.vue | 8 | ||||
-rw-r--r-- | core/templates/layout.user.php | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue index 1e11d6bfbde..2d2d2d0a254 100644 --- a/core/src/views/UnifiedSearch.vue +++ b/core/src/views/UnifiedSearch.vue @@ -86,12 +86,16 @@ <div v-else> {{ t('core', 'Press enter to start searching') }} </div> - <template #icon><Magnify /></template> + <template #icon> + <Magnify /> + </template> </EmptyContent> <EmptyContent v-else-if="!isLoading || isShortQuery"> {{ t('core', 'Start typing to search') }} - <template #icon><Magnify /></template> + <template #icon> + <Magnify /> + </template> <template v-if="isShortQuery" #desc> {{ n('core', 'Please enter {minSearchLength} character or more to search', diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 00e16414535..4efe072a5bb 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -40,7 +40,9 @@ $getUserAvatar = static function (int $size) use ($_): string { <?php emit_script_loading_tags($_); ?> <?php print_unescaped($_['headers']); ?> </head> - <body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) { p("data-theme-$themeId "); }?>> + <body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) { + p("data-theme-$themeId "); + }?>> <?php include 'layout.noscript.warning.php'; ?> <?php foreach ($_['initialStates'] as $app => $initialState) { ?> |