File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
pkg/webui/console/containers/event-split-frame Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ const EventSplitFrameInner = ({ children }) => {
4646 const userId = useSelector ( selectUserId )
4747 const user = useSelector ( state => selectUserById ( state , userId ) )
4848 const consolePreferences = useSelector ( state => selectConsolePreferences ( state ) )
49- const tutorials = consolePreferences . tutorials ?. seen || [ ]
50- const seen = tutorials . includes ( 'TUTORIAL_LIVE_DATA_SPLIT_VIEW' )
49+ const tutorialsSeen = consolePreferences . tutorials ?. seen || [ ]
50+ const seen = tutorialsSeen . includes ( 'TUTORIAL_LIVE_DATA_SPLIT_VIEW' )
5151
5252 useEffect ( ( ) => {
5353 setIsMounted ( true )
@@ -58,13 +58,13 @@ const EventSplitFrameInner = ({ children }) => {
5858 const patch = {
5959 console_preferences : {
6060 tutorials : {
61- seen : [ ...tutorials , 'TUTORIAL_LIVE_DATA_SPLIT_VIEW' ] ,
61+ seen : [ ...tutorialsSeen , 'TUTORIAL_LIVE_DATA_SPLIT_VIEW' ] ,
6262 } ,
6363 } ,
6464 }
6565
6666 await dispatch ( attachPromise ( updateUser ( { id : user . ids . user_id , patch } ) ) )
67- } , [ dispatch , tutorials , user . ids . user_id ] )
67+ } , [ dispatch , tutorialsSeen , user . ids . user_id ] )
6868
6969 // Handle the dragging of the handler to resize the frame.
7070 const handleDragStart = useCallback (
You can’t perform that action at this time.
0 commit comments