forked from mirrors/misskey
[Client] Fix bug
This commit is contained in:
@@ -45,7 +45,7 @@ export default Vue.extend({
|
||||
window.addEventListener('popstate', this.onPopState);
|
||||
},
|
||||
mounted() {
|
||||
document.title = `${this.$root.os.instanceName} Drive`;
|
||||
document.title = `${this.$root.instanceName} Drive`;
|
||||
},
|
||||
beforeDestroy() {
|
||||
window.removeEventListener('popstate', this.onPopState);
|
||||
@@ -64,7 +64,7 @@ export default Vue.extend({
|
||||
(this.$refs as any).browser.openContextMenu();
|
||||
},
|
||||
onMoveRoot(silent) {
|
||||
const title = `${this.$root.os.instanceName} Drive`;
|
||||
const title = `${this.$root.instanceName} Drive`;
|
||||
|
||||
if (!silent) {
|
||||
// Rewrite URL
|
||||
@@ -77,7 +77,7 @@ export default Vue.extend({
|
||||
this.folder = null;
|
||||
},
|
||||
onOpenFolder(folder, silent) {
|
||||
const title = `${folder.name} | ${this.$root.os.instanceName} Drive`;
|
||||
const title = `${folder.name} | ${this.$root.instanceName} Drive`;
|
||||
|
||||
if (!silent) {
|
||||
// Rewrite URL
|
||||
@@ -90,7 +90,7 @@ export default Vue.extend({
|
||||
this.folder = folder;
|
||||
},
|
||||
onOpenFile(file, silent) {
|
||||
const title = `${file.name} | ${this.$root.os.instanceName} Drive`;
|
||||
const title = `${file.name} | ${this.$root.instanceName} Drive`;
|
||||
|
||||
if (!silent) {
|
||||
// Rewrite URL
|
||||
|
||||
Reference in New Issue
Block a user