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
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

View File

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

View File

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

View File

@ -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];