fixed tab being clicked throwing an error
This commit is contained in:
parent
8cbbaf9d1b
commit
748cd76762
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export default {
|
|||
this.updateDelayViewerUpdated(true);
|
||||
|
||||
if (tab.pending) {
|
||||
this.openPendingTab(tab);
|
||||
this.openPendingTab({ file: tab, keyPrefix: tab.staged ? 'staged' : 'unstaged' });
|
||||
} else {
|
||||
this.$router.push(`/project${tab.url}`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue