- {t("downloads.share.linkCopied")} -
- )} + {/* Seen here, heard from the dialog's own live region (`LinkShare`): one mounted already + filled may never be announced. */} + {copiedOnOpen &&{t("downloads.share.linkCopied")}
}+ {copiedOnOpen !== null ? t("downloads.share.linkCopied") : ""} +
- {t("downloads.upload.targetLabel")} -
- {foldersQ.isError ? ( - // The file still goes where the dialog was opened on: only the list could not be read. +{t("downloads.upload.targetLabel")}
+ {foldersQ.isError && !foldersQ.data ? ( + // The file still goes where the dialog was opened on: only the list could not be read. A + // failed REFETCH keeps the list it had (react-query sets isError beside the data): the + // target the file goes to stays shown, as the rail does it.