fix: hide update log when user clicks Скрыть лог
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"""Единый источник версии SAC (API, health, логи, OpenAPI)."""
|
||||
|
||||
APP_NAME = "Security Alert Center"
|
||||
APP_VERSION = "0.5.1"
|
||||
APP_VERSION = "0.5.2"
|
||||
APP_VERSION_LABEL = f"{APP_NAME} v.{APP_VERSION}"
|
||||
|
||||
@@ -19,12 +19,12 @@
|
||||
</p>
|
||||
<p v-if="message && !loading" class="host-action-log-message" :class="messageClass">{{ message }}</p>
|
||||
<p v-else-if="message && loading" class="muted host-action-log-sub host-action-log-message">{{ message }}</p>
|
||||
<pre v-if="output || (loading && logVisible)" class="host-action-log-output">{{
|
||||
<pre v-if="logVisible" class="host-action-log-output">{{
|
||||
output || "Ожидание лога с хоста…\n(обновление /var/log/update_script.log)"
|
||||
}}</pre>
|
||||
<div class="host-action-log-actions">
|
||||
<button
|
||||
v-if="loading"
|
||||
v-if="loading || output"
|
||||
type="button"
|
||||
class="secondary"
|
||||
@click="emit('toggle-log')"
|
||||
|
||||
Reference in New Issue
Block a user