revert Fix compiler warnings pt1
This commit is contained in:
fox 2023-03-11 20:36:35 +00:00
parent dc84762c29
commit 9e98ace04f
16 changed files with 25 additions and 27 deletions

View file

@ -6,14 +6,14 @@
<Popover
trigger="hover"
>
<template #trigger>
<template v-slot:trigger>
&nbsp;
<FAIcon
icon="wrench"
:aria-label="$t('settings.setting_changed')"
/>
</template>
<template #content>
<template v-slot:content>
<div class="modified-tooltip">
{{ $t('settings.setting_changed') }}
</div>

View file

@ -24,7 +24,7 @@
</div>
</template>
<script src="./staff_panel.js"></script>
<script src="./staff_panel.js" ></script>
<style lang="scss">

View file

@ -89,9 +89,7 @@
</option>
</Select>
{{ ' ' }}
<button
class="btn button-default"
@click="translateStatus">
<button @click="translateStatus" class="btn button-default">
{{ $t('status.translate') }}
</button>
</div>

View file

@ -63,7 +63,7 @@
</div>
</template>
<script src="./status_content.js"></script>
<script src="./status_content.js" ></script>
<style lang="scss">
.StatusContent {
flex: 1;

View file

@ -5,10 +5,10 @@
:bound-to="{ x: 'container' }"
@show="enter"
>
<template #trigger>
<template v-slot:trigger>
<slot />
</template>
<template #content>
<template v-slot:content>
<Status
v-if="status"
:is-preview="true"
@ -35,7 +35,7 @@
</Popover>
</template>
<script src="./status_popover.js"></script>
<script src="./status_popover.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -13,7 +13,7 @@
</div>
</template>
<script src="./terms_of_service_panel.js"></script>
<script src="./terms_of_service_panel.js" ></script>
<style lang="scss">
.tos-content {

View file

@ -4,7 +4,7 @@
class="TimelineQuickSettings"
:bound-to="{ x: 'container' }"
>
<template #content>
<template v-slot:content>
<div class="dropdown-menu">
<div v-if="loggedIn">
<button
@ -80,7 +80,7 @@
</button>
</div>
</template>
<template #trigger>
<template v-slot:trigger>
<button class="button-unstyled">
<FAIcon icon="filter" />
</button>

View file

@ -9,12 +9,12 @@
@show="openMenu"
@close="() => isOpen = false"
>
<template #content>
<template v-slot:content>
<div class="timeline-menu-popover popover-default">
<TimelineMenuContent />
</div>
</template>
<template #trigger>
<template v-slot:trigger>
<button class="button-unstyled title timeline-menu-title">
<span class="timeline-title">{{ timelineName() }}</span>
<span>
@ -32,7 +32,7 @@
</Popover>
</template>
<script src="./timeline_menu.js"></script>
<script src="./timeline_menu.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -99,7 +99,7 @@
</ul>
</template>
<script src="./timeline_menu_content.js"></script>
<script src="./timeline_menu_content.js" ></script>
<style lang="scss">
@import "../../_variables.scss";

View file

@ -99,7 +99,7 @@
</ul>
</template>
<script src="./timeline_menu_content.js"></script>
<script src="./timeline_menu_content.js" ></script>
<style lang="scss">
@import "../../_variables.scss";

View file

@ -53,7 +53,7 @@
</div>
</template>
<script src="./timeline_menu_tabs.js"></script>
<script src="./timeline_menu_tabs.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -4,10 +4,10 @@
placement="top"
:offset="{ y: 5 }"
>
<template #:trigger>
<template v-slot:trigger>
<slot />
</template>
<template #:content>
<template v-slot:content>
<div class="user-list-popover">
<template v-if="users.length">
<div
@ -45,7 +45,7 @@
</Popover>
</template>
<script src="./user_list_popover.js"></script>
<script src="./user_list_popover.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -121,8 +121,8 @@
</FriendList>
</div>
<div
v-if="isUs"
key="tags"
v-if="isUs"
:label="$t('user_card.followed_tags')"
>
<FollowedTagList
@ -133,7 +133,7 @@
<FollowedTagCard :tag="item" />
</template>
<template #empty>
{{ $t('user_card.not_following_any_hashtags') }}
{{ $t('user_card.not_following_any_hashtags')}}
</template>
</FollowedTagList>
</div>

View file

@ -45,7 +45,7 @@
</div>
<div class="user-reporting-panel-right">
<List :items="statuses">
<template #item="{item}">
<template v-slot:item="{item}">
<div class="status-fadein user-reporting-panel-sitem">
<Status
:in-conversation="false"

View file

@ -27,7 +27,7 @@
</div>
</template>
<script src="./who_to_follow_panel.js"></script>
<script src="./who_to_follow_panel.js" ></script>
<style lang="scss">
.who-to-follow * {