Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-21 14:55:32 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-21 20:00:29 +0300
commitd1dfdfe7998a3c77a22ebba01be90747744c8ac9 (patch)
treea032d289f15094cc92dd86b86b5ae3646d2fd429 /core
parent3c75a9926716484020544046f03bfad1c6712cfe (diff)
Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/src/views/UnifiedSearch.vue8
-rw-r--r--core/templates/layout.user.php4
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) { ?>