Hide the seed strip on the mirror — it describes a push the mirror cannot make

This commit is contained in:
Gmer4Lfe
2026-08-17 11:42:32 -04:00
parent c4bfa6bdfe
commit ead5d38d7c
+3 -1
View File
@@ -1184,8 +1184,10 @@ function _renderActions(nodes, cfg) {
// //
// The toggle is also read before the job record. media_seed.sh exits 0 when seeding is // The toggle is also read before the job record. media_seed.sh exits 0 when seeding is
// off, so the record can read "ok" for a run that moved nothing. // off, so the record can read "ok" for a run that moved nothing.
// Owner-side only. The seed pushes THIS host's DAILY_SYNC_SHARES to the partner, so on
// the mirror the whole strip describes an action it cannot take against its own owner.
const ms = remote.media_seed || {}; const ms = remote.media_seed || {};
if (ms.enabled !== false) { if (isOwner && ms.enabled !== false) {
const seedRunning = ms.status === 'running'; const seedRunning = ms.status === 'running';
const seedDone = ms.phase3_done === true; const seedDone = ms.phase3_done === true;
let seedColor, seedLabel; let seedColor, seedLabel;