Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request nightscout#4837 from unsoluble/patch-6
Browse files Browse the repository at this point in the history
Remove profile conversion warning
  • Loading branch information
sulkaharo authored Aug 4, 2019
2 parents d47fd21 + 1a26b2a commit 98c22d9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions static/profile/js/profileeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,13 +671,6 @@
adjustedRecord.defaultProfile = currentprofile;
adjustedRecord.units = client.settings.units;

if (record.convertedOnTheFly) {
var result = window.confirm(translate('Profile is going to be saved in newer format used in Nightscout 0.9.0 and above and will not be usable in older versions anymore.\nAre you sure?'));
if (!result) {
return;
}
}

delete record.convertedOnTheFly;
delete adjustedRecord.convertedOnTheFly;

Expand Down

0 comments on commit 98c22d9

Please sign in to comment.