fix(library): propagate active scanning spinner icon along full folder path hierarchy to root
This commit is contained in:
@@ -987,8 +987,9 @@ export async function scanFolder(
|
||||
// The frame in hand names the folder the reading is standing in, and the
|
||||
// queue is filled layer by layer, so this is the column's answer to which
|
||||
// folder is being read while it is being read.
|
||||
const at = rel.lastIndexOf('/');
|
||||
progress.at = at < 0 ? '' : rel.slice(0, at);
|
||||
const relNorm = (rel || '').replace(/\\/g, '/');
|
||||
const cut = relNorm.lastIndexOf('/');
|
||||
progress.at = cut < 0 ? '' : normPath(relNorm.slice(0, cut));
|
||||
progress.done++;
|
||||
const read = readOne(handle, rel);
|
||||
const lane = read
|
||||
|
||||
Reference in New Issue
Block a user