Remove last filter usage

This commit is contained in:
Kasper Seweryn 2022-05-01 15:28:19 +02:00 committed by Georg Krause
parent 1122324799
commit 42907b7028
3 changed files with 4 additions and 2 deletions

View File

@ -36,6 +36,7 @@ module.exports = {
'@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/ban-ts-comment': 'off',
// TODO (wvffle): Enable typescript rules later // TODO (wvffle): Enable typescript rules later
'vue/require-explicit-emits': 'off',
'@typescript-eslint/no-this-alias': 'off', '@typescript-eslint/no-this-alias': 'off',
'@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': 'off',

View File

@ -13,8 +13,9 @@
<template <template
v-for="(row, idx) in data.logs" v-for="(row, idx) in data.logs"
v-else v-else
:key="idx"
> >
<p :key="idx"> <p>
{{ row }} {{ row }}
</p> </p>
</template> </template>

View File

@ -182,7 +182,7 @@
> >
<td> <td>
<router-link :to="{name: 'manage.library.uploads.detail', params: {id: scope.obj.uuid }}"> <router-link :to="{name: 'manage.library.uploads.detail', params: {id: scope.obj.uuid }}">
{{ displayName(scope.obj)|truncate(30, "…", true) }} {{ truncate(displayName(scope.obj), 30, undefined, true) }}
</router-link> </router-link>
</td> </td>
<td> <td>