Light mode improvements, empty state on search page
This commit is contained in:
@@ -33,8 +33,10 @@ export const useAccountStore = defineStore("accountStore", {
|
||||
/** Request to server sent, waiting for data response */
|
||||
fetchInProgress: ref(false),
|
||||
|
||||
/** Flag to show or hide admin icon in navigation bar */
|
||||
adminPanelVisible: ref(false),
|
||||
|
||||
/** Flag to activate buy option on basket page */
|
||||
privilegeBuy: ref(false)
|
||||
}),
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ export const useBasketStore = defineStore('basketStore', {
|
||||
itemsInBasket: useLocalStorage<Array<BasketItemModel>>("hackmycart/basketStore/itemsInBasket", []),
|
||||
|
||||
/** Address used in the order dialog */
|
||||
usedAddress: ref(new AddressModel()),
|
||||
usedAddress: ref<AddressModel>(null),
|
||||
|
||||
/** Payment method used in the order dialog */
|
||||
usedPayment: ref(new PaymentModel()),
|
||||
usedPayment: ref<PaymentModel>(null),
|
||||
|
||||
/** Selected seats in the booking page */
|
||||
selectedSeats: ref<Array<SelectedSeatModel>>([])
|
||||
|
||||
@@ -5,11 +5,10 @@ import { fetchLocationsBySearchTerm } from "../data/api/locationApi";
|
||||
import { fetchConcertsBySearchTerm } from "../data/api/concertApi";
|
||||
import { ConcertApiModel } from "@/data/models/acts/concertApiModel";
|
||||
import { useExerciseStore } from "./exercise.store";
|
||||
import { AccountApiModel } from "@/data/models/user/accountApiModel";
|
||||
import { LocationApiModel } from "@/data/models/locations/locationApiModel";
|
||||
import { BandApiModel } from "@/data/models/acts/bandApiModel";
|
||||
import { useBandStore } from "./band.store";
|
||||
import { useAccountStore } from "./account.store";
|
||||
import { LocationDetailsApiModel } from "@/data/models/locations/locationDetailsApiModel";
|
||||
|
||||
export const useSearchStore = defineStore("searchStore", {
|
||||
state: () => ({
|
||||
@@ -20,7 +19,7 @@ export const useSearchStore = defineStore("searchStore", {
|
||||
bands: ref<Array<BandApiModel>>([]),
|
||||
|
||||
/** Location results */
|
||||
locations: ref<Array<LocationApiModel>>([]),
|
||||
locations: ref<Array<LocationDetailsApiModel>>([]),
|
||||
|
||||
/** Concert results */
|
||||
concerts: ref<Array<ConcertApiModel>>([]),
|
||||
|
||||
Reference in New Issue
Block a user