Browse Source

Set production identifiers

pull/1/head
Justin Ferrari 8 months ago
parent
commit
034371eb80
  1. 24
      src/constants/identifiers.ts
  2. 2
      src/pages/StoreList/StoreList.tsx

24
src/constants/identifiers.ts

@ -1,18 +1,18 @@
// TESTING
export const STORE_BASE = "test-q-store-general";
export const DATA_CONTAINER_BASE = "test-datacontainer";
export const CATALOGUE_BASE = "test-q-store-catalogue";
export const ORDER_BASE = "test-q-store-order";
export const REVIEW_BASE = "test-q-store-review";
export const PRODUCT_BASE = "test-q-store-product";
// export const STORE_BASE = "test-q-store-general";
// export const DATA_CONTAINER_BASE = "test-datacontainer";
// export const CATALOGUE_BASE = "test-q-store-catalogue";
// export const ORDER_BASE = "test-q-store-order";
// export const REVIEW_BASE = "test-q-store-review";
// export const PRODUCT_BASE = "test-q-store-product";
// PRODUCTION
// export const STORE_BASE = "q-store-general";
// export const DATA_CONTAINER_BASE = "datacontainer";
// export const CATALOGUE_BASE = "q-store-catalogue";
// export const ORDER_BASE = "q-store-order";
// export const REVIEW_BASE = "q-store-review";
// export const PRODUCT_BASE = "q-store-product";
export const STORE_BASE = "q-store-general";
export const DATA_CONTAINER_BASE = "datacontainer";
export const CATALOGUE_BASE = "q-store-catalogue";
export const ORDER_BASE = "q-store-order";
export const REVIEW_BASE = "q-store-review";
export const PRODUCT_BASE = "q-store-product";

2
src/pages/StoreList/StoreList.tsx

@ -158,7 +158,7 @@ export const StoreList = () => {
{filteredStores.length > 0 &&
filteredStores
// Get rid of the Bester shop (test shop)
// .filter((store: Store) => store.owner !== "Bester")
.filter((store: Store) => store.owner !== "Bester")
.map((store: Store) => {
let storeItem = store;
let hasHash = false;

Loading…
Cancel
Save