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
/** Group paid policies with expense chat enabled */
@@ -23,9 +23,9 @@ type UseCreateReportActionParams = {
23
23
shouldHandleNavigationBack?: boolean;
24
24
};
25
25
26
-
typeUseCreateReportActionResult={
27
-
/** The action to trigger when the user clicks "Create report" */
28
-
createReportAction: ()=>void;
26
+
typeUseCreateReportResult={
27
+
/** The callback to trigger when the user clicks "Create report" */
28
+
createReport: ()=>void;
29
29
/** Whether the menu item/button should be visible */
30
30
isVisible: boolean;
31
31
};
@@ -36,14 +36,14 @@ type UseCreateReportActionResult = {
36
36
*
37
37
* Decision flow:
38
38
* 1. Navigate to upgrade path if user has no valid group policies at all
39
-
* 2. Navigate to workspace selector if default is personal AND there are 2+ non-personal workspaces, or if the chosen default is billing-restricted and alternatives exist
39
+
* 2. Navigate to workspace selector if default is personal AND there are at least 2 non-personal workspaces, or if the chosen default is billing-restricted and alternatives exist
40
40
* 3. Show empty report confirmation or create directly if workspace is valid
41
41
* 4. Navigate to restricted action if billing restricts the workspace
0 commit comments