|
|
@ -10,6 +10,9 @@ |
|
|
<div v-if="status === 'success'"> |
|
|
<div v-if="status === 'success'"> |
|
|
<BaseCodeBlock :code="config ?? ''" /> |
|
|
<BaseCodeBlock :code="config ?? ''" /> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div v-else> |
|
|
|
|
|
<span>{{ $t('general.loading') }}</span> |
|
|
|
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
<template #actions> |
|
|
<template #actions> |
|
|
<DialogClose as-child> |
|
|
<DialogClose as-child> |
|
|
@ -37,6 +40,7 @@ const { data: config, status } = useFetch( |
|
|
`/api/client/${props.clientId}/configuration`, |
|
|
`/api/client/${props.clientId}/configuration`, |
|
|
{ |
|
|
{ |
|
|
responseType: 'text', |
|
|
responseType: 'text', |
|
|
|
|
|
server: false, |
|
|
} |
|
|
} |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
|