cleanup
This commit is contained in:
parent
dd77596447
commit
98dbca82c7
3 changed files with 3 additions and 10 deletions
|
|
@ -13,7 +13,3 @@
|
|||
margin-right: 4px;
|
||||
padding-top: 6px;
|
||||
}
|
||||
|
||||
.return-to-list {
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { FC } from 'react';
|
||||
|
||||
import { Button, VerticalGroup, Icon } from '@grafana/ui';
|
||||
import { Button, VerticalGroup } from '@grafana/ui';
|
||||
import cn from 'classnames/bind';
|
||||
|
||||
import PluginLink from 'components/PluginLink/PluginLink';
|
||||
|
|
@ -60,7 +60,7 @@ const WrongTeamStub: FC<WrongTeamStubProps> = (props) => {
|
|||
Change the team
|
||||
</Button>
|
||||
)}
|
||||
<Text type="secondary" className={cx('return-to-list')}>
|
||||
<Text type="secondary">
|
||||
Or return to the <PluginLink query={{ page: pageName }}>{objectName} list</PluginLink> for team {currentTeam}
|
||||
</Text>
|
||||
</VerticalGroup>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,10 @@
|
|||
import React from 'react';
|
||||
|
||||
import { SelectableValue } from '@grafana/data';
|
||||
import { getLocationSrv } from '@grafana/runtime';
|
||||
import { HorizontalGroup, Icon, IconButton, Label, Tooltip } from '@grafana/ui';
|
||||
import { Icon, Label, Tooltip } from '@grafana/ui';
|
||||
import cn from 'classnames/bind';
|
||||
import { observer } from 'mobx-react';
|
||||
import ReactDOM from 'react-dom';
|
||||
|
||||
import Avatar from 'components/Avatar/Avatar';
|
||||
import PluginLink from 'components/PluginLink/PluginLink';
|
||||
import GSelect from 'containers/GSelect/GSelect';
|
||||
import { WithPermissionControl } from 'containers/WithPermissionControl/WithPermissionControl';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue