From 6c4e807e5ccbf2b24c923527fc969685538ed2a7 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci-lite[bot]"
<117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Date: Tue, 27 Aug 2024 11:58:29 +0000
Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes
---
.../LibraryPage/AccessibleChannelCard.vue | 22 +++++++++----------
.../HandleAccessibleChannelCard.vue | 10 ++++-----
.../assets/src/views/LibraryPage/index.vue | 6 ++---
3 files changed, 18 insertions(+), 20 deletions(-)
diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue
index 7e50994456f..95c6817faec 100644
--- a/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue
+++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue
@@ -12,7 +12,7 @@
@@ -39,19 +39,19 @@
export default {
name: 'AccessibleChannelCard',
- components:{
+ components: {
ChannelThumbnail,
},
- props:{
+ props: {
to: {
type: Object,
required: true,
},
- title:{
+ title: {
type: String,
required: true,
},
- headingLevel:{
+ headingLevel: {
type: Number,
required: false,
default: 2,
@@ -61,17 +61,17 @@
required: true,
},
},
- computed:{
- numberOfResources(){
+ computed: {
+ numberOfResources() {
return `${this.contentNode.num_coach_contents} ${this.$tr('resources')}`;
- }
+ },
},
$trs: {
resources: {
message: 'Resources',
context: 'Number of resources in a channel',
},
- }
- }
+ },
+ };
-
\ No newline at end of file
+
diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/HandleAccessibleChannelCard.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/HandleAccessibleChannelCard.vue
index d2c93a9d768..c3e47f7ad7d 100644
--- a/kolibri/plugins/learn/assets/src/views/LibraryPage/HandleAccessibleChannelCard.vue
+++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/HandleAccessibleChannelCard.vue
@@ -38,15 +38,15 @@
const { genContentLinkBackLinkCurrentPage } = useContentLink();
return {
layoutSpan,
- genContentLinkBackLinkCurrentPage
+ genContentLinkBackLinkCurrentPage,
};
},
- props:{
+ props: {
contentNode: {
type: Array,
required: true,
},
- }
- }
+ },
+ };
-
\ No newline at end of file
+
diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue
index 373b75cca4d..a78b471ec26 100644
--- a/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue
+++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue
@@ -82,9 +82,7 @@
:injectedtr="injecttr"
/>
-
+