mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
consider custom fields when loading operator main field (#1049)
This commit is contained in:
@@ -171,7 +171,7 @@ export default function Operator() {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
const mainField = main ? entry?.[main] || entry.title : entry.title;
|
const mainField = main ? getPropertyValue(entry, main) ?? '' : entry.title;
|
||||||
const secondaryField = getPropertyValue(entry, secondary) ?? '';
|
const secondaryField = getPropertyValue(entry, secondary) ?? '';
|
||||||
const subscribedData = entry.custom[subscribe];
|
const subscribedData = entry.custom[subscribe];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user