fix: Current Folder Name in Page Title

This commit is contained in:
古大羊 2024-05-07 14:29:30 +08:00
parent be62f56782
commit 3bab97e3a2

View File

@ -148,7 +148,7 @@ const fetchData = async () => {
}
fileStore.updateRequest(res);
document.title = `${res.name} - ${document.title}`;
document.title = `${res.name} - ${t("files.files")} - File Browser`;
} catch (err) {
if (err instanceof Error) {
error.value = err;