mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Form migrations: Teams and alert list (#23810)
* Basic migration * Update test * Fix feedback
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user