Closed npearce-kpmg closed 7 years ago
Admin/shop sharing product-list and product-tile Created a layout configuration object populated based on UserRoleService.isUserAdmin
const layouts = { shop: {routeItem: '/shop/product', showSubHeader: false, isCompareAvailable: true}, admin: {routeItem: '/admin/catalog-item', showSubHeader: true, isCompareAvailable: false} }; return userRoleService.isUserAdmin ? layouts.admin : layouts.shop;
subheader is a bit hackish so maybe we can clean it up with ng-content
pulled in master with corrected product service and RAML changes GET/PUT working with all floats/integers properly defined
Admin/shop sharing product-list and product-tile Created a layout configuration object populated based on UserRoleService.isUserAdmin
subheader is a bit hackish so maybe we can clean it up with ng-content