2
0
mirror of https://github.com/frappe/books.git synced 2024-09-19 19:19:02 +00:00

fix: save button disappears issue

This commit is contained in:
18alantom 2022-12-23 12:00:52 +05:30
parent f3dffe9d85
commit 0e0c8a001a
4 changed files with 2 additions and 6 deletions

View File

@ -29,7 +29,7 @@ win:
- nsis
nsis:
oneClick: false
perMachine: true
perMachine: false
allowToChangeInstallationDirectory: true
installerIcon: build/installericon.ico
uninstallerIcon: build/uninstallericon.ico

View File

@ -170,10 +170,6 @@ export class Doc extends Observable<DocValue | Doc[]> {
return false;
}
if (!this.notInserted) {
return false;
}
return true;
}

View File

@ -72,7 +72,6 @@ export default {
data() {
return {
linkValue: '',
showDropdown: false,
isLoading: false,
suggestions: [],
highlightedIndex: -1,

View File

@ -216,6 +216,7 @@ export default {
}
},
async selectHighlightedItem() {
console.log('here');
if (![-1, this.items.length].includes(this.highlightedIndex)) {
// valid selection
let item = this.items[this.highlightedIndex];