lint: be coherent with number of attributes in the same vue template line

This commit is contained in:
Michel Roux 2024-01-13 00:26:40 +01:00
parent a5f219d363
commit 93898d3309
4 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,6 @@
<template> <template>
<ul class="bar"> <ul class="bar">
<NcAppNavigationNewItem :name="t('repod', 'Add a RSS link')" <NcAppNavigationNewItem :name="t('repod', 'Add a RSS link')" @new-item="addSubscription">
@new-item="addSubscription">
<template #icon> <template #icon>
<Plus :size="20" /> <Plus :size="20" />
</template> </template>

View File

@ -35,8 +35,7 @@
</template> </template>
</NcListItem> </NcListItem>
</AdaptativeList> </AdaptativeList>
<NcModal v-if="modalEpisode" <NcModal v-if="modalEpisode" @close="closeModal">
@close="closeModal">
<Modal :description="modalEpisode.description" <Modal :description="modalEpisode.description"
:image="modalEpisode.image" :image="modalEpisode.image"
:link="modalEpisode.link" :link="modalEpisode.link"

View File

@ -8,13 +8,17 @@
<h2>{{ name }}</h2> <h2>{{ name }}</h2>
<p v-html="strippedDescription" /> <p v-html="strippedDescription" />
<div class="buttons"> <div class="buttons">
<NcButton v-if="link" :href="link" target="_blank"> <NcButton v-if="link"
:href="link"
target="_blank">
<template #icon> <template #icon>
<OpenInNew :size="20" /> <OpenInNew :size="20" />
</template> </template>
{{ title }} {{ title }}
</NcButton> </NcButton>
<NcButton v-if="url" :href="url" target="_blank"> <NcButton v-if="url"
:href="url"
target="_blank">
<template #icon> <template #icon>
<Download :size="20" /> <Download :size="20" />
</template> </template>

View File

@ -1,7 +1,6 @@
<template> <template>
<NcAppContent class="main"> <NcAppContent class="main">
<NcTextField :label="t('repod', 'Find a podcast')" <NcTextField :label="t('repod', 'Find a podcast')" :value.sync="search">
:value.sync="search">
<Magnify :size="20" /> <Magnify :size="20" />
</NcTextField> </NcTextField>
<Search v-if="search" :value="search" /> <Search v-if="search" :value="search" />