Fix UI and API call for each operations

This commit is contained in:
trojanh
2020-01-29 12:34:52 +05:30
parent 7b50a4bcfd
commit a852af6530
11 changed files with 291 additions and 46 deletions

View File

@@ -16,7 +16,7 @@ export const expenseOperations = [
{
name: 'Get',
value: 'get',
description: 'Get data of a expense',
description: 'Get data of an expense',
},
{
name: 'Get All',
@@ -24,7 +24,7 @@ export const expenseOperations = [
description: 'Get data of all expenses',
},
],
default: 'create',
default: 'getAll',
description: 'The operation to perform.',
},
@@ -157,7 +157,7 @@ export const expenseFields = [
/* expense:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'Client Id',
displayName: 'Expense Id',
name: 'id',
type: 'string',
default: '',