@mundogamernetwork/shared-ui 1.1.94 → 1.1.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -261,7 +261,7 @@ async function loadDeadline() {
|
|
|
261
261
|
const res = await fetchKeyRequestById(requestId.value)
|
|
262
262
|
const data = res?.data?.data ?? res?.data
|
|
263
263
|
const approvedAt = data?.approved_at
|
|
264
|
-
const deadlineDays = Number(data?.material_deadline_days ??
|
|
264
|
+
const deadlineDays = Number(data?.material_deadline_days ?? 14)
|
|
265
265
|
if (!approvedAt) return
|
|
266
266
|
const deadline = new Date(approvedAt)
|
|
267
267
|
deadline.setDate(deadline.getDate() + deadlineDays)
|