We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a60c8ca commit b479d37Copy full SHA for b479d37
ui/src/components/widgets/InfiniteScrollSelect.vue
@@ -88,7 +88,7 @@
88
</template>
89
90
<script>
91
-import { getAPI } from '@/api'
+import { callAPI } from '@/api/index'
92
import ResourceIcon from '@/components/view/ResourceIcon'
93
94
export default {
@@ -191,7 +191,7 @@ export default {
191
if (this.showIcon) {
192
params.showicon = true
193
}
194
- getAPI(this.api, params).then(json => {
+ callAPI(this.api, params).then(json => {
195
const response = json[this.api.toLowerCase() + 'response'] || {}
196
if (this.totalCount === null) {
197
this.totalCount = response.count || 0
0 commit comments