From 192c8a868ce053b7058a838bc1232adcece97808 Mon Sep 17 00:00:00 2001 From: Mitan Omar Date: Wed, 10 Jan 2024 15:55:10 +0100 Subject: [PATCH] fix: the default value of `rejected` attribute in `ReportIntersection` is false --- app/models/report-intersection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/report-intersection.js b/app/models/report-intersection.js index 8dc9e8f07..8a6ce4202 100644 --- a/app/models/report-intersection.js +++ b/app/models/report-intersection.js @@ -3,7 +3,7 @@ import Model, { attr, belongsTo } from "@ember-data/model"; export default class ReportIntersection extends Model { @attr("string") comment; @attr("boolean", { allowNull: true, defaultValue: null }) notBillable; - @attr("boolean", { allowNull: true, defaultValue: null }) rejected; + @attr("boolean", { allowNull: true, defaultValue: false }) rejected; @attr("boolean", { allowNull: true, defaultValue: null }) review; @attr("boolean", { allowNull: true, defaultValue: null }) billed; @attr("boolean", { allowNull: true, defaultValue: null }) verified;