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:
parent
f3dffe9d85
commit
0e0c8a001a
@ -29,7 +29,7 @@ win:
|
|||||||
- nsis
|
- nsis
|
||||||
nsis:
|
nsis:
|
||||||
oneClick: false
|
oneClick: false
|
||||||
perMachine: true
|
perMachine: false
|
||||||
allowToChangeInstallationDirectory: true
|
allowToChangeInstallationDirectory: true
|
||||||
installerIcon: build/installericon.ico
|
installerIcon: build/installericon.ico
|
||||||
uninstallerIcon: build/uninstallericon.ico
|
uninstallerIcon: build/uninstallericon.ico
|
||||||
|
@ -170,10 +170,6 @@ export class Doc extends Observable<DocValue | Doc[]> {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.notInserted) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,6 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
linkValue: '',
|
linkValue: '',
|
||||||
showDropdown: false,
|
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
suggestions: [],
|
suggestions: [],
|
||||||
highlightedIndex: -1,
|
highlightedIndex: -1,
|
||||||
|
@ -216,6 +216,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async selectHighlightedItem() {
|
async selectHighlightedItem() {
|
||||||
|
console.log('here');
|
||||||
if (![-1, this.items.length].includes(this.highlightedIndex)) {
|
if (![-1, this.items.length].includes(this.highlightedIndex)) {
|
||||||
// valid selection
|
// valid selection
|
||||||
let item = this.items[this.highlightedIndex];
|
let item = this.items[this.highlightedIndex];
|
||||||
|
Loading…
Reference in New Issue
Block a user