Form migrations: Teams and alert list (#23810)

* Basic migration

* Update test

* Fix feedback
This commit is contained in:
Tobias Skarhed
2020-04-24 09:26:09 +02:00
committed by GitHub
parent e4d492fd35
commit 3fbdcf1070
7 changed files with 148 additions and 158 deletions

View File

@@ -1,7 +1,7 @@
import React, { PureComponent } from 'react';
import { hot } from 'react-hot-loader';
import Page from 'app/core/components/Page/Page';
import { DeleteButton } from '@grafana/ui';
import { DeleteButton, LinkButton } from '@grafana/ui';
import { NavModel } from '@grafana/data';
import EmptyListCTA from 'app/core/components/EmptyListCTA/EmptyListCTA';
import { OrgRole, StoreState, Team } from 'app/types';
@@ -109,9 +109,9 @@ export class TeamList extends PureComponent<Props, any> {
<div className="page-action-bar__spacer" />
<a className={`btn btn-primary${disabledClass}`} href={newTeamHref}>
New team
</a>
<LinkButton className={disabledClass} href={newTeamHref}>
New Team
</LinkButton>
</div>
<div className="admin-list-table">