Merge pull request #62 from Telecominfraproject/hotfix/WIFI-774

hotfix/WIFI-774
This commit is contained in:
Sean Macfarlane
2020-10-05 17:22:44 -04:00
committed by GitHub

View File

@@ -36,6 +36,15 @@ const System = () => {
description: 'No matching manufacturer found for OUI',
});
},
onCompleted: () => {
if (!data?.getOui?.oui) {
notification.error({
message: 'Error',
description: 'No matching manufacturer found for OUI',
});
}
},
fetchPolicy: 'no-cache',
});
const [fileUpload] = useMutation(OUI_UPLOAD);