Its name is suggesting usage of loaded or success flags, but we are returning loading flag.
In the html (projects/storefrontlib/src/lib/my-account/order/order-history/order-history.component.html) template, this is used for displaying "We have no order records for this account" message.
We should use success flag and rename methods/selectors/properties to have consistent names.
There's an inconsistency in
getOrdersLoaded
selector:Its name is suggesting usage of
loaded
orsuccess
flags, but we are returningloading
flag.In the html (
projects/storefrontlib/src/lib/my-account/order/order-history/order-history.component.html
) template, this is used for displaying "We have no order records for this account" message.We should use
success
flag and rename methods/selectors/properties to have consistent names.