From 635c4c914a558e6f13969c7c65abe6c955bcbcaa Mon Sep 17 00:00:00 2001 From: Ernest Walzel Date: Thu, 25 Apr 2024 14:48:11 +0200 Subject: [PATCH] AuthorSelectOptions --- resources/js/app.js | 2 ++ .../catalog-new/AuthorSelectOptions.vue | 8 +++++++ .../components/catalog-new/SelectOptions.vue | 23 +++++++++++-------- .../frontend/catalog-new/index.blade.php | 17 ++++---------- 4 files changed, 28 insertions(+), 22 deletions(-) create mode 100644 resources/js/components/catalog-new/AuthorSelectOptions.vue diff --git a/resources/js/app.js b/resources/js/app.js index 992f10508..a149614b4 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -28,6 +28,7 @@ import FeaturedPieceClickTracker from './components/FeaturedPieceClickTracker.vu import FilterSortBy from './components/filter/SortBy.vue' import FilterCheckbox from './components/filter/Checkbox.vue' import FilterCustomSelect from './components/filter/CustomSelect.vue' +import CatalogNewAuthorSelectOptions from './components/catalog-new/AuthorSelectOptions.vue' import CatalogNewEmptyAnimation from './components/catalog-new/EmptyAnimation.vue' import CatalogNewItemsFilterController from './components/catalog-new/ItemsFilterController.vue' import CatalogNewNewCustomSelectPopoverLabel from './components/catalog-new/NewCustomSelectPopoverLabel.vue' @@ -93,6 +94,7 @@ createApp({ .component('filter-disclosure-controller', CatalogNewDisclosureModalController) .component('toggle-controller', ToggleController) .component('reload-controller', ReloadController) + .component('catalog.author-select-options', CatalogNewAuthorSelectOptions) .component('catalog.empty-animation', CatalogNewEmptyAnimation) .component('catalog.infinite-scroll', CatalogNewInfiniteScroll) .component('catalog.artwork-image-controller', CatalogNewArtworkImageController) diff --git a/resources/js/components/catalog-new/AuthorSelectOptions.vue b/resources/js/components/catalog-new/AuthorSelectOptions.vue new file mode 100644 index 000000000..e4562678e --- /dev/null +++ b/resources/js/components/catalog-new/AuthorSelectOptions.vue @@ -0,0 +1,8 @@ + + + diff --git a/resources/js/components/catalog-new/SelectOptions.vue b/resources/js/components/catalog-new/SelectOptions.vue index 95ed6b82c..808abe393 100644 --- a/resources/js/components/catalog-new/SelectOptions.vue +++ b/resources/js/components/catalog-new/SelectOptions.vue @@ -1,7 +1,6 @@