chore(acc): better toast

This commit is contained in:
oguzhankoral
2025-08-04 20:48:11 +03:00
parent ef747de057
commit 2ab81f201d
@@ -240,11 +240,12 @@ const disabledItemPredicate = (item: ProjectPageLatestItemsModelItemFragment) =>
onProjectAccSyncItemsUpdated((res) => {
// TODO ACC: Mutate local cache instead of refetch
refetchAccSyncItems()
triggerNotification({
type: ToastNotificationType.Info,
title: 'ACC sync model updated',
description: res.data?.projectAccSyncItemsUpdated.accSyncItem?.accFileLineageUrn
title: `ACC sync model ${res.data?.projectAccSyncItemsUpdated.type.toLowerCase()}`,
description: res.data?.projectAccSyncItemsUpdated.accSyncItem?.accFileName
})
})