Skip to content

Commit

Permalink
Removed: ProductListItem component and the filter to get product feat…
Browse files Browse the repository at this point in the history
…ure(#85zrhdn0f)
  • Loading branch information
ymaheshwari1 committed Jan 6, 2023
1 parent 1d45e6f commit 13453ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 58 deletions.
49 changes: 0 additions & 49 deletions src/components/ProductListItem.vue

This file was deleted.

9 changes: 0 additions & 9 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ app.config.globalProperties.$filters = {
const userProfile = store.getters['user/getUserProfile'];
// TODO Fix this setDefault should set the default timezone instead of getting it everytiem and setting the tz
return DateTime.utc(value, inFormat).setZone(userProfile.userTimeZone).toFormat(outFormat ? outFormat : 'MM-DD-YYYY')
},
getFeature(featureHierarchy: any, featureKey: string) {
let featureValue = ''
if (featureHierarchy) {
const feature = featureHierarchy.find((featureItem: any) => featureItem.startsWith(featureKey))
const featureSplit = feature ? feature.split('/') : [];
featureValue = featureSplit[2] ? featureSplit[2] : '';
}
return featureValue;
}
}

Expand Down

0 comments on commit 13453ab

Please sign in to comment.