Merge pull request #573 from getmaxun/order-robots
feat: re-render robot list on retrain
This commit is contained in:
@@ -193,7 +193,7 @@ export const RecordingsTable = ({
|
||||
notify(notificationData.type, notificationData.message);
|
||||
|
||||
if ((notificationData.type === 'success' &&
|
||||
notificationData.message.includes('saved')) ||
|
||||
(notificationData.message.includes('saved') || notificationData.message.includes('retrained'))) ||
|
||||
(notificationData.type === 'warning' &&
|
||||
notificationData.message.includes('terminated'))) {
|
||||
setRerenderRobots(true);
|
||||
@@ -253,7 +253,7 @@ export const RecordingsTable = ({
|
||||
const parsedRows = recordings
|
||||
.map((recording: any, index: number) => {
|
||||
if (recording?.recording_meta) {
|
||||
const parsedDate = parseDateString(recording.recording_meta.createdAt);
|
||||
const parsedDate = parseDateString(recording.recording_meta.updatedAt);
|
||||
|
||||
return {
|
||||
id: index,
|
||||
|
||||
Reference in New Issue
Block a user