fix: rollback
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
0c476725ae
commit
34df9cf254
|
@ -52,9 +52,9 @@ export default boot(({ app }) => {
|
|||
if (env && env !== 'development') return;
|
||||
message = 'Duplicate request';
|
||||
}
|
||||
// Convey to Alex or Juan...
|
||||
|
||||
const additionalData = {
|
||||
frontPath: stateQuery.route.name,
|
||||
frontPath: '',
|
||||
backError: {
|
||||
config: error.config,
|
||||
data: error,
|
||||
|
@ -70,14 +70,15 @@ export default boot(({ app }) => {
|
|||
flat: false,
|
||||
round: true,
|
||||
handler: async () => {
|
||||
const locale = i18n.global.t;
|
||||
const reason = ref(
|
||||
response.data.error.code == 'ACCESS_DENIED'
|
||||
? i18n.global.t('cau.askPrivileges')
|
||||
? locale('cau.askPrivileges')
|
||||
: ''
|
||||
);
|
||||
openConfirmationModal(
|
||||
i18n.global.t('cau.title'),
|
||||
i18n.global.t('cau.subtitle'),
|
||||
locale('cau.title'),
|
||||
locale('cau.subtitle'),
|
||||
async () => {
|
||||
await axios.post('OsTickets/send-to-support', {
|
||||
reason: reason.value,
|
||||
|
@ -90,7 +91,7 @@ export default boot(({ app }) => {
|
|||
props: {
|
||||
modelValue: reason,
|
||||
'onUpdate:modelValue': (val) => (reason.value = val),
|
||||
label: i18n.global.t('cau.inputLabel'),
|
||||
label: locale('cau.inputLabel'),
|
||||
class: 'full-width',
|
||||
required: true,
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<script setup>
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useState } from 'src/composables/useState';
|
||||
import { useStateStore } from 'stores/useStateStore';
|
||||
import { useStateQueryStore } from 'src/stores/useStateQueryStore';
|
||||
|
@ -18,10 +17,8 @@ const stateQuery = useStateQueryStore();
|
|||
const state = useState();
|
||||
const user = state.getUser();
|
||||
const appName = 'Lilium';
|
||||
onMounted(() => {
|
||||
stateStore.setMounted();
|
||||
stateQuery.add(useRoute());
|
||||
});
|
||||
|
||||
onMounted(() => stateStore.setMounted());
|
||||
|
||||
const pinnedModulesRef = ref();
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue