Skip to content

Commit

Permalink
0 cant be viewed
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsundso committed Dec 29, 2023
1 parent 020b724 commit a328615
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ import * as CT from '../../../../Typings/Typings.js';
* @returns A string representation of the number value.
*/
export default (val: string | number | Prisma.Decimal | null, language: CT.Language) =>
val ? String(val) : language.t.None;
val || typeof val === 'number' ? String(val) : language.t.None;

0 comments on commit a328615

Please sign in to comment.