mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Refactor: EmptyListCTA (#18516)
* Rewrite EmptyListCTA props and start removing css classes * Add watchDepth onClick * EmptyListCTA with React in annotaitons/editor * Begin conversion of DashLinks editor EmptyListCTA * Use React component in DashLinks, Variables and TeamGroupSync * Remove scss file and add emotion styles * Update snapshot * Remove style import * Fix feedback * Update snapshot
This commit is contained in:
@@ -75,16 +75,14 @@ export class TeamList extends PureComponent<Props, any> {
|
||||
renderEmptyList() {
|
||||
return (
|
||||
<EmptyListCTA
|
||||
model={{
|
||||
title: "You haven't created any teams yet.",
|
||||
buttonIcon: 'gicon gicon-team',
|
||||
buttonLink: 'org/teams/new',
|
||||
buttonTitle: ' New team',
|
||||
proTip: 'Assign folder and dashboard permissions to teams instead of users to ease administration.',
|
||||
proTipLink: '',
|
||||
proTipLinkTitle: '',
|
||||
proTipTarget: '_blank',
|
||||
}}
|
||||
title="You haven't created any teams yet."
|
||||
buttonIcon="gicon gicon-team"
|
||||
buttonLink="org/teams/new"
|
||||
buttonTitle=" New team"
|
||||
proTip="Assign folder and dashboard permissions to teams instead of users to ease administration."
|
||||
proTipLink=""
|
||||
proTipLinkTitle=""
|
||||
proTipTarget="_blank"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user