Merge pull request #4837 from unsoluble/patch-6

Remove profile conversion warning
This commit is contained in:
Sulka Haro
2019-08-04 17:43:18 +03:00
committed by GitHub
-7
View File
@@ -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;