File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export const ModuleAnalyticsSidebar = observer(function ModuleAnalyticsSidebar(p
124124 } ;
125125
126126 const handleUpdateLink = async ( formData : ModuleLink , linkId : string ) => {
127- if ( ! workspaceSlug || ! projectId || ! module ) return ;
127+ if ( ! workspaceSlug || ! projectId ) return ;
128128
129129 const payload = { metadata : { } , ...formData } ;
130130
@@ -145,7 +145,7 @@ export const ModuleAnalyticsSidebar = observer(function ModuleAnalyticsSidebar(p
145145 } ;
146146
147147 const handleDeleteLink = async ( linkId : string ) => {
148- if ( ! workspaceSlug || ! projectId || ! module ) return ;
148+ if ( ! workspaceSlug || ! projectId ) return ;
149149
150150 deleteModuleLink ( workspaceSlug . toString ( ) , projectId . toString ( ) , moduleId . toString ( ) , linkId )
151151 . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments