diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-05-08 10:01:54 +0200 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-05-11 12:06:29 +0000 |
commit | 7daced619b8307838aed2a1cf40608b7485d136d (patch) | |
tree | 3ed0fd4b570c16e2478118ebb67508051ae614ee /apps/settings/src/components/AppList | |
parent | 09c209d4683ce844da5e0319acc6dc83c00f372a (diff) | |
download | nextcloud-server-7daced619b8307838aed2a1cf40608b7485d136d.tar.gz nextcloud-server-7daced619b8307838aed2a1cf40608b7485d136d.zip |
Fix some linter warnings in settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/settings/src/components/AppList')
-rw-r--r-- | apps/settings/src/components/AppList/AppScore.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings/src/components/AppList/AppScore.vue b/apps/settings/src/components/AppList/AppScore.vue index f3ff80b7792..0569d687e88 100644 --- a/apps/settings/src/components/AppList/AppScore.vue +++ b/apps/settings/src/components/AppList/AppScore.vue @@ -24,6 +24,8 @@ <img :src="scoreImage" class="app-score-image"> </template> <script> +import { imagePath } from '@nextcloud/router' + export default { name: 'AppScore', props: ['score'], @@ -31,7 +33,7 @@ export default { scoreImage() { const score = Math.round(this.score * 10) const imageName = 'rating/s' + score + '.svg' - return OC.imagePath('core', imageName) + return imagePath('core', imageName) }, }, } |