style(playlist): remove console logging

This commit is contained in:
bergquist 2016-01-29 00:31:20 +01:00
parent b6f276265d
commit ea7c2e73ad
2 changed files with 0 additions and 19 deletions

View File

@ -35,8 +35,6 @@ export class PlaylistEditCtrl {
}
filterFoundPlaylistItems() {
console.log('filter !');
console.log(this.dashboardresult);
this.filteredDashboards = _.reject(this.dashboardresult, (playlistItem) => {
return _.findWhere(this.playlistItems, (listPlaylistItem) => {
return parseInt(listPlaylistItem.value) === playlistItem.id;
@ -56,8 +54,6 @@ export class PlaylistEditCtrl {
}
addTagPlaylistItem(tag) {
console.log(tag);
var playlistItem: any = {
value: tag.term,
type: 'dashboard_by_tag',
@ -102,26 +98,12 @@ export class PlaylistEditCtrl {
return !this.playlistItems.length;
}
isSearchResultsEmpty() {
return !this.dashboardresult.length;
}
isSearchQueryEmpty() {
return this.searchQuery === '';
}
backToList() {
this.$location.path('/playlists');
}
isLoading() {
return this.loading;
}
searchStarted(promise) {
promise.then((data) => {
console.log('searchStarted: ', data);
this.dashboardresult = data.dashboardResult;
this.tagresult = data.tagResult;
this.filterFoundPlaylistItems();

View File

@ -57,7 +57,6 @@ export class PlaylistSearchCtrl {
getTags() {
var prom: any = {};
prom.promise = this.backendSrv.get('/api/dashboards/tags').then((result) => {
console.log('getTags: result', result);
return {
dashboardResult: [],
tagResult: result