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

View File

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

View File

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

View File

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