Skip to content

Commit

Permalink
updaing the DeleteRegulationStatus enum
Browse files Browse the repository at this point in the history
  • Loading branch information
NiranjanaBinoy committed Sep 18, 2024
1 parent eeb406f commit f0083a1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ const DeleteMetaMetricsDataButton = ({
if (!dataDeletionButtonDisabled && metaMetricsDataDeletionStatus) {
dataDeletionButtonDisabled =
[
DeleteRegulationStatus.initialized,
DeleteRegulationStatus.running,
DeleteRegulationStatus.finished,
DeleteRegulationStatus.Initialized,
DeleteRegulationStatus.Running,
DeleteRegulationStatus.Finished,
].includes(metaMetricsDataDeletionStatus) &&
metaMetricsDataDeletionTimestamp > latestMetricsEventTimestamp;
}
Expand Down

0 comments on commit f0083a1

Please sign in to comment.