Commit 6e884e71 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Merge branch 'Topic/804-niceProjectUrl' into 'Product/510-niceProjectUrl'

Topic/804-niceProjectUrl

See merge request coscine/vue/form-generator!23
parents 622e2142 647c5f05
......@@ -20,7 +20,7 @@
import Vue from 'vue';
import { validationMixin } from 'vuelidate';
import { required, minLength, maxLength } from 'vuelidate/lib/validators';
import { MetadataApi, defaultOnCatch } from '@coscine/api-connection';
import { MetadataApi } from '@coscine/api-connection';
import locales from './locale/locales';
import VueI18n from 'vue-i18n';
......@@ -102,18 +102,14 @@ export default Vue.extend({
this.applicationProfileId,
(response: any) => {
this.handleApplicationProfiles(response);
},
defaultOnCatch
);
});
} else {
MetadataApi.getApplicationProfile(
this.projectId,
this.applicationProfileId,
(response: any) => {
this.handleApplicationProfiles(response);
},
defaultOnCatch
);
});
}
}
},
......
......@@ -21,7 +21,7 @@ import Vue from 'vue';
import Multiselect from 'vue-multiselect';
import 'vue-multiselect/dist/vue-multiselect.min.css';
import { MetadataApi, defaultOnCatch } from '@coscine/api-connection';
import { MetadataApi } from '@coscine/api-connection';
export default Vue.extend({
name: 'InputCombobox',
......@@ -63,9 +63,7 @@ export default Vue.extend({
this.selectableOptions = response.data[this.languageCode];
}
this.loadData();
},
defaultOnCatch
);
});
if (this.fixedValueMode) {
this.updateFixedValues();
}
......
......@@ -11,7 +11,7 @@
<script lang="ts">
import Vue from 'vue';
import { UserApi, defaultOnCatch } from '@coscine/api-connection';
import { UserApi } from '@coscine/api-connection';
export default Vue.extend({
name: 'InputTextArea',
......@@ -52,7 +52,7 @@ export default Vue.extend({
response.data.displayName
);
this.$forceUpdate();
}, defaultOnCatch);
});
}
}
}
......
......@@ -11,7 +11,7 @@
<script lang="ts">
import Vue from 'vue';
import { UserApi, defaultOnCatch } from '@coscine/api-connection';
import { UserApi } from '@coscine/api-connection';
export default Vue.extend({
name: 'InputTextField',
......@@ -52,7 +52,7 @@ export default Vue.extend({
response.data.displayName
);
this.$forceUpdate();
}, defaultOnCatch);
});
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment