Commit 3490c446 by Johannes Schill Committed by Daniel Lee

dashfolders: Rem code to avoid tests to fail #10275

parent 44ea8e58
...@@ -5,7 +5,7 @@ import DevTools from 'mobx-react-devtools'; ...@@ -5,7 +5,7 @@ import DevTools from 'mobx-react-devtools';
import { inject, observer } from 'mobx-react'; import { inject, observer } from 'mobx-react';
import { Provider } from 'mobx-react'; import { Provider } from 'mobx-react';
import { store } from 'app/stores/store'; import { store } from 'app/stores/store';
import UserPicker from 'app/core/components/UserPicker/UserPicker'; // import UserPicker from 'app/core/components/UserPicker/UserPicker';
export interface DashboardAcl { export interface DashboardAcl {
id?: number; id?: number;
...@@ -137,7 +137,7 @@ class PermissionsInner extends Component<IProps, any> { ...@@ -137,7 +137,7 @@ class PermissionsInner extends Component<IProps, any> {
render() { render() {
console.log('PermissionsInner render'); console.log('PermissionsInner render');
const { error, aclTypes, permissions, backendSrv } = this.props; const { error, aclTypes, permissions } = this.props;
const { newType } = this.state; const { newType } = this.state;
return ( return (
...@@ -173,6 +173,7 @@ class PermissionsInner extends Component<IProps, any> { ...@@ -173,6 +173,7 @@ class PermissionsInner extends Component<IProps, any> {
/> */} /> */}
</div> </div>
</div> </div>
{/*
{newType === 'User' ? ( {newType === 'User' ? (
<div className="gf-form"> <div className="gf-form">
{' '} {' '}
...@@ -195,6 +196,7 @@ class PermissionsInner extends Component<IProps, any> { ...@@ -195,6 +196,7 @@ class PermissionsInner extends Component<IProps, any> {
<team-picker team-picked="ctrl.groupPicked($group)" /> <team-picker team-picked="ctrl.groupPicked($group)" />
</div> </div>
) : null} ) : null}
*/}
</div> </div>
</form> </form>
{error ? ( {error ? (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment