Skip to content

Commit

Permalink
fix: use custom get_list explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
netchampfaris committed Sep 20, 2023
1 parent d2a8ab6 commit 9cf2055
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@vueuse/core": "^10.1.2",
"dayjs": "^1.10.7",
"feather-icons": "^4.28.0",
"frappe-ui": "^0.1.4",
"frappe-ui": "^0.1.5",
"fuzzysort": "^2.0.4",
"gemoji": "^7.1.0",
"htmldiff-js": "^1.0.5",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ let globalComponents = {
}
let app = createApp(App)
setConfig('resourceFetcher', frappeRequest)
setConfig('defaultListUrl', 'gameplan.extends.client.get_list')
app.use(resourcesPlugin)
app.use(pageMetaPlugin)
app.use(router)
Expand Down Expand Up @@ -67,7 +68,7 @@ if (import.meta.env.DEV) {
socket = initSocket()
app.config.globalProperties.$socket = socket
app.mount('#app')
},
}
)
} else {
socket = initSocket()
Expand Down
8 changes: 4 additions & 4 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1996,10 +1996,10 @@ fraction.js@^4.2.0:
resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950"
integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==

frappe-ui@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/frappe-ui/-/frappe-ui-0.1.4.tgz#67a86778f1311e2ffbe5115843cd6c4b176fe682"
integrity sha512-dmhf82K6O/ka0VZAYgj2Fa35bk14B8ds9o/HihVC3+k9FbYdY4GCBkHwxtu8iwmY/yni+ZiXCn3T3IvJgBtevg==
frappe-ui@^0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/frappe-ui/-/frappe-ui-0.1.5.tgz#59e5576ad1511e6d097a88fc065d5990a2ce9624"
integrity sha512-05Ikc0xLt7Pq2OP95wmQWdMzEJwJ1k8NSX57uiAMJLRNkjQTykvsn1G70/XcHxQnOhd5QOs+zKNMrapvmKuwDw==
dependencies:
"@headlessui/vue" "^1.7.14"
"@popperjs/core" "^2.11.2"
Expand Down
6 changes: 3 additions & 3 deletions gameplan/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@
# Overriding Methods
# ------------------------------
#
override_whitelisted_methods = {
"frappe.client.get_list": "gameplan.extends.client.get_list"
}
# override_whitelisted_methods = {
# "frappe.client.get_list": "gameplan.extends.client.get_list"
# }
#
# each overriding function accepts a `data` argument;
# generated from the base implementation of the doctype dashboard,
Expand Down

0 comments on commit 9cf2055

Please sign in to comment.