Update:List view/grid view icon swapped

This commit is contained in:
advplyr 2022-08-01 18:03:54 -05:00
parent 5662c1983a
commit 837df329e2
2 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@
<p v-show="!selectedSeriesName" class="font-book pt-1">{{ totalEntities }} {{ entityTitle }}</p> <p v-show="!selectedSeriesName" class="font-book pt-1">{{ totalEntities }} {{ entityTitle }}</p>
<p v-show="selectedSeriesName" class="ml-2 font-book pt-1">{{ selectedSeriesName }} ({{ totalEntities }})</p> <p v-show="selectedSeriesName" class="ml-2 font-book pt-1">{{ selectedSeriesName }} ({{ totalEntities }})</p>
<div class="flex-grow" /> <div class="flex-grow" />
<span v-if="page == 'library' || seriesBookPage" class="material-icons px-2" @click="bookshelfListView = !bookshelfListView">{{ bookshelfListView ? 'view_list' : 'grid_view' }}</span> <span v-if="page == 'library' || seriesBookPage" class="material-icons px-2" @click="bookshelfListView = !bookshelfListView">{{ !bookshelfListView ? 'view_list' : 'grid_view' }}</span>
<template v-if="page === 'library'"> <template v-if="page === 'library'">
<div class="relative flex items-center px-2"> <div class="relative flex items-center px-2">
<span class="material-icons" @click="showFilterModal = true">filter_alt</span> <span class="material-icons" @click="showFilterModal = true">filter_alt</span>

View file

@ -1,10 +1,10 @@
import Vue from "vue"; import Vue from "vue"
import Toast from "vue-toastification"; import Toast from "vue-toastification"
import "vue-toastification/dist/index.css"; import "vue-toastification/dist/index.css"
const options = { const options = {
hideProgressBar: true, hideProgressBar: true,
position: 'bottom-center' position: 'bottom-center'
}; }
Vue.use(Toast, options); Vue.use(Toast, options)