Skip to content

Commit f0e38ce

Browse files
small fix projectId, refetchTerms
1 parent 8e64adb commit f0e38ce

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/components/projects/projectId/lookup-lists/lookupListId/LookupListsDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export default function LookupListsDetails() {
211211
className="font-dmMono px-4 py-2 rounded-none rounded-r-md border border-gray-300 text-gray-500 sm:text-sm bg-gray-100 cursor-pointer">
212212
{lookupList.pythonVariable}</span>
213213
</Tooltip>
214-
<LookupListOperations />
214+
<LookupListOperations refetchTerms={refetchTerms}/>
215215
</div>
216216
<Terms terms={terms} finalSize={finalSize} refetchTerms={refetchTerms} setTerms={(terms: Term[]) => setTerms(terms)} />
217217
<DangerZone elementType={DangerZoneEnum.LOOKUP_LIST} name={lookupList.name} id={lookupList.id} />

src/services/base/web-sockets/useWebsocket.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export function useWebsocket(currentPage: CurrentPage, handleFunction: (msgParts
1414
projectId: _projectId
1515
}
1616

17-
if (projectId) nos.projectId = projectId; // delete
18-
1917
WebSocketsService.subscribeToNotification(currentPage, nos, _subKey);
2018

2119
return () => WebSocketsService.unsubscribeFromNotification(currentPage, projectId, _subKey);

0 commit comments

Comments
 (0)