|
@@ -5,6 +5,7 @@ import EmptyListCTA from './components/EmptyListCTA/EmptyListCTA';
|
|
|
import LoginBackground from './components/Login/LoginBackground';
|
|
import LoginBackground from './components/Login/LoginBackground';
|
|
|
import { SearchResult } from './components/search/SearchResult';
|
|
import { SearchResult } from './components/search/SearchResult';
|
|
|
import UserPicker from './components/UserPicker/UserPicker';
|
|
import UserPicker from './components/UserPicker/UserPicker';
|
|
|
|
|
+import { TagFilter } from './components/TagFilter/TagFilter';
|
|
|
|
|
|
|
|
export function registerAngularDirectives() {
|
|
export function registerAngularDirectives() {
|
|
|
react2AngularDirective('passwordStrength', PasswordStrength, ['password']);
|
|
react2AngularDirective('passwordStrength', PasswordStrength, ['password']);
|
|
@@ -13,4 +14,9 @@ export function registerAngularDirectives() {
|
|
|
react2AngularDirective('loginBackground', LoginBackground, []);
|
|
react2AngularDirective('loginBackground', LoginBackground, []);
|
|
|
react2AngularDirective('searchResult', SearchResult, []);
|
|
react2AngularDirective('searchResult', SearchResult, []);
|
|
|
react2AngularDirective('selectUserPicker', UserPicker, ['backendSrv', 'teamId', 'refreshList']);
|
|
react2AngularDirective('selectUserPicker', UserPicker, ['backendSrv', 'teamId', 'refreshList']);
|
|
|
|
|
+ react2AngularDirective('tagFilter', TagFilter, [
|
|
|
|
|
+ 'tags',
|
|
|
|
|
+ ['onSelect', { watchDepth: 'reference' }],
|
|
|
|
|
+ ['tagOptions', { watchDepth: 'reference' }],
|
|
|
|
|
+ ]);
|
|
|
}
|
|
}
|