Skip to content

Commit 85b32be

Browse files
fixes
1 parent 85a4613 commit 85b32be

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ui/src/components/view/SettingsTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</template>
3232

3333
<script>
34-
import { getAPI, postAPI } from '@/api'
34+
import { getAPI } from '@/api'
3535
import TooltipButton from '@/components/widgets/TooltipButton'
3636
import ConfigurationTable from '@/views/setting/ConfigurationTable.vue'
3737

ui/src/views/infra/UpdatePrimaryStorage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
<script>
117117
import { ref, reactive, toRaw } from 'vue'
118-
import { postAPI } from '@/api'
118+
import { getAPI, postAPI } from '@/api'
119119
import { isAdmin } from '@/role'
120120
import { mixinForm } from '@/utils/mixin'
121121
import TooltipLabel from '@/components/widgets/TooltipLabel'

ui/src/views/plugins/quota/CreateQuotaTariff.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export default {
211211
const values = this.handleRemoveFields(formRaw)
212212
213213
this.loading = true
214-
api('quotaValidateActivationRule', {}, 'POST', {
214+
postAPI('quotaValidateActivationRule', {
215215
activationRule: values.activationRule || ' ',
216216
usageType: values?.usageType?.split('-')[0]
217217
}).then(response => {

ui/src/views/plugins/quota/EditQuotaTariff.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export default {
215215
const values = this.handleRemoveFields(formRaw)
216216
217217
this.loading = true
218-
api('quotaValidateActivationRule', {}, 'POST', {
218+
postAPI('quotaValidateActivationRule', {
219219
activationRule: values.activationRule || ' ',
220220
usageType: this.resource.usageType
221221
}).then(response => {

0 commit comments

Comments
 (0)