minor change on log message

This commit is contained in:
Leonardo Campos 2017-01-27 02:32:23 -02:00
parent 1c509a9870
commit cb72bd17fc

View File

@ -206,7 +206,10 @@ export class StudyPrefetcher {
const getDisplaySets = this[methodName];
if (!getDisplaySets) {
OHIF.log.warn(`Invalid prefetch order configuration (${prefetchOrder})`);
if (prefetchOrder) {
OHIF.log.warn(`Invalid prefetch order configuration (${prefetchOrder})`);
}
return [];
}