import { Status } from '@core/models' ; param entity param callback export function loadEntity ( entity , callback ) { if ( ! entity ) { return ; } if ( ! entity . loading && ! entity . loaded && ! entity . error ) { callback ( ) ; } }