FIx hound [SCI-11754]

This commit is contained in:
Andrej 2025-04-09 09:31:47 +02:00
parent 063fdad81e
commit 10a94c54ba
3 changed files with 7 additions and 6 deletions

View file

@ -53,6 +53,7 @@
<script>
/* global HelperModule */
import axios from '../../../packs/custom_axios.js';
import modalMixin from '../../shared/modal_mixin.js';
import SelectDropdown from '../../shared/select_dropdown.vue';
@ -102,7 +103,7 @@ export default {
this.submitting = true;
axios.post(this.protocol.attributes.urls.add_protocol_steps_url, {
selected_protocol: this.selectedProtocol,
steps: this.selectedSteps,
steps: this.selectedSteps
}).then((data) => {
this.submitting = false;
this.$emit('confirm', data.data.data);

View file

@ -111,7 +111,7 @@
<script>
import DeleteStepsModals from './modals/delete_steps';
import AddStepsModal from './modals/add_protocol_steps'
import AddStepsModal from './modals/add_protocol_steps';
export default {
@ -145,10 +145,10 @@ export default {
closeStartStepsDeletingModal() {
this.stepsDeleting = false;
},
openAddStepsModal(){
this.stepsAdding = true;
openAddStepsModal() {
this.stepsAdding = true;
},
closeAddStepsModal(){
closeAddStepsModal() {
this.stepsAdding = false;
},
loadProtocol() {

View file

@ -370,7 +370,7 @@ export default {
fetchOptions() {
if (this.optionsUrl) {
const params = { query: this.query, page: this.nextPage, ...this.urlParams };
let config = {
const config = {
method: this.ajaxMethod,
url: this.optionsUrl
};