[Client] Fix bug

This commit is contained in:
syuilo
2018-11-09 08:26:32 +09:00
parent 60ef3e3563
commit fccbecf159
44 changed files with 83 additions and 81 deletions

View File

@@ -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