Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
create getViewAttributeDropdown()
Browse files Browse the repository at this point in the history
  • Loading branch information
wiadev committed Dec 2, 2017
1 parent 9c5caa4 commit 7b7ba49
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/actions/GenericActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ export function getData(
);
}

export function getViewAttributeDropdown(windowId, viewId, rowId, attribute) {
return axios.get(
config.API_URL +
'/documentView'+
'/' + windowId +
'/' + viewId +
'/' + rowId +
'/attributes/attribute/' + attribute +
'/dropdown'
);
}
/**
*
* @param {*} windowId
Expand Down Expand Up @@ -94,11 +105,6 @@ export function patchViewAttributes(
property,
value
) {
console.log(windowId,
viewId,
rowId,
property,
value);
const payload = getPathRequestPayload(property, value);

return axios.patch(
Expand Down

1 comment on commit 7b7ba49

@teosarca
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

task #1357

Please sign in to comment.