From 1bcbf80968b1bdd280b5df3390f09a6614e22b18 Mon Sep 17 00:00:00 2001 From: RONAK Date: Wed, 30 Jul 2025 19:40:11 +0530 Subject: [PATCH 1/2] Update VBtn to KButton In Channels --- .../channelList/views/Channel/ChannelList.vue | 23 ++++++++++--------- .../views/ChannelSet/ChannelSetList.vue | 10 ++++---- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/contentcuration/contentcuration/frontend/channelList/views/Channel/ChannelList.vue b/contentcuration/contentcuration/frontend/channelList/views/Channel/ChannelList.vue index eba4dd2032..92ff141e21 100644 --- a/contentcuration/contentcuration/frontend/channelList/views/Channel/ChannelList.vue +++ b/contentcuration/contentcuration/frontend/channelList/views/Channel/ChannelList.vue @@ -14,15 +14,16 @@ > - - {{ $tr('channel') }} - + + @@ -77,7 +78,7 @@ import LoadingText from 'shared/views/LoadingText'; import { ChannelListTypes } from 'shared/constants'; - function listTypeValidator(value) { +function listTypeValidator(value) { // The value must match one of the ListTypes return Object.values(ChannelListTypes).includes(value); } @@ -87,7 +88,7 @@ components: { ChannelItem, LoadingText, - }, + }, props: { listType: { type: String, diff --git a/contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetList.vue b/contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetList.vue index 09c4a4a864..858ce6aca7 100644 --- a/contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetList.vue +++ b/contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetList.vue @@ -39,14 +39,16 @@ - - {{ $tr('addChannelSetTitle') }} - + + Date: Wed, 30 Jul 2025 21:13:04 +0530 Subject: [PATCH 2/2] Lint the files --- .../channelList/views/Channel/ChannelList.vue | 23 +++++++++---------- .../views/ChannelSet/ChannelSetList.vue | 6 ++--- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/contentcuration/contentcuration/frontend/channelList/views/Channel/ChannelList.vue b/contentcuration/contentcuration/frontend/channelList/views/Channel/ChannelList.vue index 92ff141e21..331cf52606 100644 --- a/contentcuration/contentcuration/frontend/channelList/views/Channel/ChannelList.vue +++ b/contentcuration/contentcuration/frontend/channelList/views/Channel/ChannelList.vue @@ -14,16 +14,15 @@ > - - + @@ -78,7 +77,7 @@ import LoadingText from 'shared/views/LoadingText'; import { ChannelListTypes } from 'shared/constants'; -function listTypeValidator(value) { + function listTypeValidator(value) { // The value must match one of the ListTypes return Object.values(ChannelListTypes).includes(value); } @@ -88,7 +87,7 @@ function listTypeValidator(value) { components: { ChannelItem, LoadingText, - }, + }, props: { listType: { type: String, diff --git a/contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetList.vue b/contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetList.vue index 858ce6aca7..79fe4d0516 100644 --- a/contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetList.vue +++ b/contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetList.vue @@ -44,11 +44,9 @@ appearance="raised-button" primary data-test="add-channelset" + :text="$tr('addChannelSetTitle')" @click="newChannelSet" - :text= "$tr('addChannelSetTitle')" - > - - + />