Skip to content

Commit

Permalink
Merge pull request #344 from glific/button-cleanup
Browse files Browse the repository at this point in the history
updated button labels
  • Loading branch information
rathorevaibhav authored Aug 21, 2020
2 parents e6be435 + b1220e8 commit 10327f7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ export const AutomationList: React.SFC<AutomationListProps> = (props) => (
{...columnAttributes}
searchParameter="name"
additionalAction={additionalAction}
buttonLabel="+ CREATE AUTOMATION"
/>
);
1 change: 1 addition & 0 deletions src/containers/Tag/TagList/TagList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const TagList: React.SFC<TagListProps> = (props) => (
listItemName="tag"
pageLink="tag"
listIcon={tagIcon}
buttonLabel="+ CREATE TAG"
dialogMessage={dialogMessage}
{...queries}
{...columnAttributes}
Expand Down
1 change: 1 addition & 0 deletions src/containers/Template/List/HSMList/HSMList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const HSMList: React.SFC<HSMListProps> = () => {
pageLink="template"
listIcon={templateIcon}
filters={{ isHsm: true }}
buttonLabel="+ CREATE HSM TEMPLATE"
/>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const SpeedSendList: React.SFC<SpeedSendListProps> = () => {
pageLink="speed-send"
listIcon={speedSendIcon}
filters={{ isHsm: false }}
buttonLabel="+ CREATE SPEED SEND"
/>
);
};
2 changes: 2 additions & 0 deletions src/containers/Template/List/Template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export interface TemplateProps {
pageLink: string;
listIcon: any;
filters: any;
buttonLabel: string;
}

export const Template: React.SFC<TemplateProps> = (props) => {
Expand All @@ -49,6 +50,7 @@ export const Template: React.SFC<TemplateProps> = (props) => {
listIcon={props.listIcon}
dialogMessage={dialogMessage}
filters={props.filters}
buttonLabel={props.buttonLabel}
{...columnAttributes}
{...queries}
/>
Expand Down

0 comments on commit 10327f7

Please sign in to comment.