diff --git a/frontend/src/component/p-photo-search.vue b/frontend/src/component/p-photo-search.vue index 0d91c1fd7..66cf7388a 100644 --- a/frontend/src/component/p-photo-search.vue +++ b/frontend/src/component/p-photo-search.vue @@ -20,6 +20,22 @@ refresh + + view_column + + + + view_list + + + + view_comfy + + + + view_module + + {{ searchExpanded ? 'keyboard_arrow_up' : 'keyboard_arrow_down' }} @@ -120,6 +136,10 @@ this.searchExpanded = false; } }, + setView(name) { + this.settings.view = name; + this.filterChange(); + }, clearQuery() { this.filter.q = ''; this.filterChange();