feat: file name on page title

This commit is contained in:
Ramires Viana committed 2021-04-23 11:59:04 +00:00
1 parent 7d1e03075d
commit 16a34defc0
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ export default {
}
this.$store.commit("updateRequest", res);
document.title = res.name;
document.title = `${res.name} - ${this.$route.name}`;
} catch (e) {
this.error = e;
} finally {
+1
View File
@@ -278,6 +278,7 @@ export default {
this.token = file.token || "";
this.updateRequest(file);
document.title = `${file.name} - ${this.$route.name}`;
} catch (e) {
this.error = e;
} finally {