File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/webui/src/client/ui/UserEditOperations Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export function PropertiesPanel(): JSX.Element {
7272
7373 const segment : DBSegment | undefined = useTracker (
7474 ( ) => Segments . findOne ( { _id : part ? part . segmentId : selectedElement ?. elementId } ) ,
75- [ selectedElement ?. elementId , part ]
75+ [ selectedElement ?. elementId , part ?. segmentId ]
7676 )
7777 const rundownId = part ? part . rundownId : segment ?. rundownId
7878
@@ -429,7 +429,6 @@ function EditingTypeChangeSourceLayerSource(props: {
429429 pendingChanges : PendingChange [ ]
430430 setPendingChanges : React . Dispatch < React . SetStateAction < PendingChange [ ] > >
431431} ) {
432- const { t } = useTranslation ( )
433432 const [ selectedSourceGroup , setSelectedSourceButton ] = React . useState < SourceLayerType > (
434433 props . pendingChanges . find ( ( change ) => change . operationId === props . userEditOperation . id ) ?. sourceLayerType ||
435434 props . userEditOperation . currentValues . type
You can’t perform that action at this time.
0 commit comments