mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-07 05:52:28 -04:00
Fixed negative retention time values
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
f3d3e064f8
commit
32f7a0084a
4 changed files with 49 additions and 16 deletions
|
@ -7,6 +7,7 @@
|
|||
settings.keepDataPeriodDays,
|
||||
])
|
||||
}}
|
||||
{{ $t("infiniteRetention") }}
|
||||
</label>
|
||||
<input
|
||||
id="keepDataPeriodDays"
|
||||
|
@ -14,9 +15,12 @@
|
|||
type="number"
|
||||
class="form-control"
|
||||
required
|
||||
min="1"
|
||||
min="0"
|
||||
step="1"
|
||||
/>
|
||||
<div v-if="settings.keepDataPeriodDays < 0" class="form-text">
|
||||
{{ $t("dataRetentionTimeError") }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<button class="btn btn-primary" type="button" @click="saveSettings()">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue