fix vault not open

This commit is contained in:
ammarahm-ed
2020-04-18 14:03:05 +05:00
parent 6f416b2e07
commit dd98f35b45
3 changed files with 15 additions and 12 deletions

View File

@@ -212,13 +212,15 @@ export class DialogManager extends Component {
}
case 'novault': {
openVault(this.state.item, false);
break;
}
case 'vaultlocked': {
case 'locked': {
openVault(this.state.item, true, true);
break;
}
case 'unlock': {
openVault(this.state.item, true, true, true, false, false);
break;
}
case 'notebook': {
this.showAddNotebook({item: this.state.item});