mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-07-12 16:01:56 +08:00
fix(hermes): align channel secrets with runtime env
This commit is contained in:
@@ -147,12 +147,12 @@ export default {
|
||||
isGatewayForeign() { return false },
|
||||
|
||||
onStateChange(fn) {
|
||||
_stateListeners.push(fn)
|
||||
return () => { _stateListeners = _stateListeners.filter(cb => cb !== fn) }
|
||||
_listeners.push(fn)
|
||||
return () => { _listeners = _listeners.filter(cb => cb !== fn) }
|
||||
},
|
||||
onReadyChange(fn) {
|
||||
_readyListeners.push(fn)
|
||||
return () => { _readyListeners = _readyListeners.filter(cb => cb !== fn) }
|
||||
_listeners.push(fn)
|
||||
return () => { _listeners = _listeners.filter(cb => cb !== fn) }
|
||||
},
|
||||
|
||||
isFeatureAvailable() { return true },
|
||||
|
||||
@@ -193,7 +193,7 @@ export function render() {
|
||||
<section class="hm-channel-summary" aria-label="${esc(t('engine.hermesChannelSummary'))}">
|
||||
<div class="hm-channel-stat"><span>${esc(t('engine.hermesChannelEnabledCount'))}</span><strong>${enabledCount}</strong></div>
|
||||
<div class="hm-channel-stat"><span>${esc(t('engine.hermesChannelConfiguredCount'))}</span><strong>${configuredCount}</strong></div>
|
||||
<div class="hm-channel-stat"><span>${esc(t('engine.hermesChannelRuntimeWrite'))}</span><strong>YAML + .env</strong></div>
|
||||
<div class="hm-channel-stat"><span>${esc(t('engine.hermesChannelRuntimeWrite'))}</span><strong>${esc(t('engine.hermesChannelRuntimeWriteValue'))}</strong></div>
|
||||
</section>
|
||||
|
||||
${(error || success) ? `
|
||||
|
||||
Reference in New Issue
Block a user