You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/pages/home/report/ReportActionsView.tsx
+11-3
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,7 @@ function ReportActionsView({
104
104
constdidLayout=useRef(false);
105
105
constdidLoadOlderChats=useRef(false);
106
106
constdidLoadNewerChats=useRef(false);
107
+
const{isOffline}=useNetwork();
107
108
108
109
// triggerListID is used when navigating to a chat with messages loaded from LHN. Typically, these include thread actions, task actions, etc. Since these messages aren't the latest,we don't maintain their position and instead trigger a recalculation of their positioning in the list.
109
110
// we don't set currentReportActionID on initial render as linkedID as it should trigger visibleReportActions after linked message was positioned
@@ -128,6 +129,14 @@ function ReportActionsView({
128
129
Report.openReport(reportID,reportActionID);
129
130
};
130
131
132
+
useEffect(()=>{
133
+
// When we linked to message - we do not need to wait for initial actions - they already exists
0 commit comments