mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-22 15:35:53 +08:00
Fixed logic errors, removed dev leftovers
Fixed a logic error where a comma was used instead of an or, also removed leftover console.logs from testing. Date picker is now dissabled when don't expire is checked. Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
@@ -711,5 +711,6 @@
|
||||
"apiKey-inactive": "Inactive",
|
||||
"Expires": "Expires",
|
||||
"disableAPIKeyMsg": "Are you sure you want to disable this API key?",
|
||||
"deleteAPIKeyMsg": "Are you sure you want to delete this API key?"
|
||||
"deleteAPIKeyMsg": "Are you sure you want to delete this API key?",
|
||||
"Generate": "Generate"
|
||||
}
|
||||
|
@@ -28,6 +28,7 @@
|
||||
format="yyyy-MM-dd HH:mm"
|
||||
modelType="yyyy-MM-dd HH:mm:ss"
|
||||
:required="!noExpire"
|
||||
:disabled="noExpire"
|
||||
/>
|
||||
|
||||
<div class="form-check mb-2">
|
||||
@@ -46,7 +47,7 @@
|
||||
id="monitor-submit-btn" class="btn btn-primary" type="submit"
|
||||
:disabled="processing"
|
||||
>
|
||||
{{ $t("Save") }}
|
||||
{{ $t("Generate") }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user