Skip to content

Commit

Permalink
Merge pull request sass#12 from RailsRepos/add_owners
Browse files Browse the repository at this point in the history
Add owners
  • Loading branch information
Shrif Nada authored and GitHub Enterprise committed Oct 16, 2017
2 parents 257bfa3 + 75cd9f5 commit 58e4c6c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions app/assets/javascripts/components/goLinksGlossaryTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const getKeyMap = props => (
alias: {
columnName: 'Alias',
sortable: true,
width: 5,
width: 4,
display: (alias) => {
return (
<span>{alias}</span>
Expand All @@ -33,11 +33,16 @@ const getKeyMap = props => (
sortable: false,
width: 7,
},
owner: {
columnName: 'Owner',
sortable: true,
width: 3,
},
actions: {
columnName: 'Edit/Delete',
sortable: false,
justification: 'center',
width: 5,
width: 3,
display: (value, element) => {
return (
<GoLinksEditDelete goLink={element} />
Expand All @@ -47,8 +52,8 @@ const getKeyMap = props => (
}
);

const columnOrder = ['alias', 'url', 'description', 'actions'];
const columnsToShow = ['alias', 'url', 'description', 'actions'];
const columnOrder = ['alias', 'url', 'description', 'owner', 'actions'];
const columnsToShow = ['alias', 'url', 'description', 'owner', 'actions'];

const GoLinksGlossaryTable = React.createClass({
getInitialState() {
Expand Down

0 comments on commit 58e4c6c

Please sign in to comment.