From eae4e30aeec38caf48aeb97edbdd8bcb17b5ede6 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Mon, 23 Sep 2024 07:52:58 -0400 Subject: [PATCH] refactor(editor): Migrate `TemplatesCollectionView.vue` to composition API (#10917) --- .../src/views/TemplatesCollectionView.vue | 213 ++++++++---------- 1 file changed, 99 insertions(+), 114 deletions(-) diff --git a/packages/editor-ui/src/views/TemplatesCollectionView.vue b/packages/editor-ui/src/views/TemplatesCollectionView.vue index 626b7d26f5..535f664967 100644 --- a/packages/editor-ui/src/views/TemplatesCollectionView.vue +++ b/packages/editor-ui/src/views/TemplatesCollectionView.vue @@ -1,18 +1,9 @@ - @@ -135,15 +122,13 @@ export default defineComponent({ {{ collection.name }} - {{ $locale.baseText('templates.collection') }} + {{ i18n.baseText('templates.collection') }}
- {{ - $locale.baseText('templates.collectionsNotFound') - }} + {{ i18n.baseText('templates.collectionsNotFound') }}