This commit is contained in:
@@ -234,9 +234,6 @@ export default {
|
||||
if (!value) {
|
||||
return false;
|
||||
}
|
||||
if (value == "") {
|
||||
return false;
|
||||
}
|
||||
|
||||
return new Date(value) < new Date();
|
||||
},
|
||||
@@ -245,7 +242,7 @@ export default {
|
||||
// currency display
|
||||
//
|
||||
currencyLocalized(value, languageName, currencyName) {
|
||||
if (!value) return "";
|
||||
if (value == null) return "";
|
||||
if (!languageName) {
|
||||
languageName = this.getBrowserLanguages();
|
||||
}
|
||||
@@ -263,7 +260,7 @@ export default {
|
||||
// decimal format display
|
||||
//
|
||||
decimalLocalized(value, languageName) {
|
||||
if (!value) return "";
|
||||
if (value == null) return "";
|
||||
if (!languageName) {
|
||||
languageName = this.getBrowserLanguages();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user