mirror of
https://github.com/frappe/books.git
synced 2024-11-09 23:30:56 +00:00
fix: save button disappears issue
This commit is contained in:
parent
f3dffe9d85
commit
0e0c8a001a
@ -29,7 +29,7 @@ win:
|
||||
- nsis
|
||||
nsis:
|
||||
oneClick: false
|
||||
perMachine: true
|
||||
perMachine: false
|
||||
allowToChangeInstallationDirectory: true
|
||||
installerIcon: build/installericon.ico
|
||||
uninstallerIcon: build/uninstallericon.ico
|
||||
|
@ -170,10 +170,6 @@ export class Doc extends Observable<DocValue | Doc[]> {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!this.notInserted) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,6 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
linkValue: '',
|
||||
showDropdown: false,
|
||||
isLoading: false,
|
||||
suggestions: [],
|
||||
highlightedIndex: -1,
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user