Hide the seed strip on the mirror — it describes a push the mirror cannot make
This commit is contained in:
@@ -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
|
||||
// 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 || {};
|
||||
if (ms.enabled !== false) {
|
||||
if (isOwner && ms.enabled !== false) {
|
||||
const seedRunning = ms.status === 'running';
|
||||
const seedDone = ms.phase3_done === true;
|
||||
let seedColor, seedLabel;
|
||||
|
||||
Reference in New Issue
Block a user