Make thumbnails display

This commit is contained in:
Erik Ziegler committed 2020-05-18 23:21:41 +02:00
1 parent c55d069e32
commit 63cf079288
11 files changed
+108 -95

No files matched your search

+2 -2
View File
@@ -115,7 +115,7 @@ export class CommandsManager {
* @param {String} commandName - Command to find
* @param {String} [contextName] - Specific command to look in. Defaults to current activeContexts
*/
getCommand(commandName, contextName) {
getCommand = (commandName, contextName) => {
let contexts = [];
if (contextName) {
@@ -145,7 +145,7 @@ export class CommandsManager {
});
return foundCommand;
}
};
/**
*
@@ -131,8 +131,9 @@ export default class DisplaySetService {
};
getDisplaySetByUID = displaySetInstanceUid => {
return this.displaySets.find(
displaySet => displaySet.displaySetInstanceUid === displaySetInstanceUid
// TODO: Why is this searching active, not just displaySets?
return displaySetCache.find(
displaySet => displaySet.displaySetInstanceUID === displaySetInstanceUid
);
};