Fixes feed label fetching (use both sockettypes now)
@@ -459,6 +459,16 @@ export function generateFeedItemLabels(
let prefix;
let postfix;
+ const labelWithBothSockets = getIn(labels.feedItem, [
+ connectionState,
+ senderSocketType,
+ targetSocketType,
+ ]);
+
+ if (labelWithBothSockets) {
+ prefix = labelWithBothSockets.prefix;
+ postfix = labelWithBothSockets.postfix;
+ } else {
const labelWithSenderSocket = getIn(labels.feedItem, [
connectionState,
senderSocketType,
@@ -485,6 +495,7 @@ export function generateFeedItemLabels(
postfix = defaultLabelsForConnState.postfix;
}
}
+ }
//******************************************************************************
