Grid Translate Edit - Delete
This commit is contained in:
parent
93f6b8aab6
commit
fe098c1ee0
3 changed files with 18 additions and 6 deletions
|
|
@ -46,7 +46,7 @@ const Dashboard: React.FC = () => {
|
|||
href: ROUTES_ENUM.protected.saas.developerKit.migrations,
|
||||
},
|
||||
{
|
||||
name: translate('::App.DeveloperKit.Dashboard.Stats.APIs'),
|
||||
name: translate('::App.DeveloperKit.Dashboard.Stats.Apis'),
|
||||
value: generatedEndpoints.filter((e) => e.isActive).length,
|
||||
total: generatedEndpoints.length,
|
||||
icon: FaServer,
|
||||
|
|
@ -95,8 +95,8 @@ const Dashboard: React.FC = () => {
|
|||
},
|
||||
{
|
||||
step: 4,
|
||||
title: translate('::App.DeveloperKit.Dashboard.Flow.GenerateAPI'),
|
||||
description: translate('::App.DeveloperKit.Dashboard.Flow.GenerateAPI.Desc'),
|
||||
title: translate('::App.DeveloperKit.Dashboard.Flow.GenerateApi'),
|
||||
description: translate('::App.DeveloperKit.Dashboard.Flow.GenerateApi.Desc'),
|
||||
icon: FaServer,
|
||||
color: 'bg-emerald-600',
|
||||
href: ROUTES_ENUM.protected.saas.developerKit.endpoints,
|
||||
|
|
|
|||
|
|
@ -114,7 +114,13 @@ function FormFieldTabDetails({
|
|||
invalid={errors.editorOptions && touched.editorOptions}
|
||||
errorMessage={errors.editorOptions}
|
||||
>
|
||||
<Field type="text" name="editorOptions" component={Input} />
|
||||
<Field
|
||||
type="text"
|
||||
name="editorOptions"
|
||||
component={Input}
|
||||
rows={4}
|
||||
textArea={true}
|
||||
/>
|
||||
</FormItem>
|
||||
|
||||
<Button block variant="solid" loading={isSubmitting} type="submit">
|
||||
|
|
|
|||
|
|
@ -312,11 +312,17 @@ const useListFormColumns = ({
|
|||
const buttons: any[] = []
|
||||
|
||||
if (hasUpdate) {
|
||||
buttons.push('edit')
|
||||
buttons.push({
|
||||
name: 'edit',
|
||||
text: translate('::App.Platform.Edit')
|
||||
})
|
||||
}
|
||||
|
||||
if (hasDelete) {
|
||||
buttons.push('delete')
|
||||
buttons.push({
|
||||
name: 'delete',
|
||||
text: translate('::App.Platform.Delete')
|
||||
})
|
||||
}
|
||||
|
||||
gridDto.gridOptions.commandColumnDto.forEach((action) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue