From bd6dcc007b7c416ab68db08848f0d42ab1fcff28 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Mon, 6 Aug 2018 11:00:45 +0100 Subject: [PATCH] Remove prototype code. --- .../web/app/views/project/editor/history/entriesListV2.pug | 3 +-- .../coffee/ide/history/components/historyEntriesList.coffee | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/services/web/app/views/project/editor/history/entriesListV2.pug b/services/web/app/views/project/editor/history/entriesListV2.pug index e4ad48caba..55d86c434f 100644 --- a/services/web/app/views/project/editor/history/entriesListV2.pug +++ b/services/web/app/views/project/editor/history/entriesListV2.pug @@ -10,7 +10,6 @@ aside.change-list( load-disabled="history.loading || history.atEnd" load-initialize="ui.view == 'history'" is-loading="history.loading" - show-only-labelled="listConfig.showOnlyLabelled" on-entry-select="handleEntrySelect(selectedEntry)" on-label-delete="handleLabelDelete(label)" ) @@ -115,7 +114,7 @@ script(type="text/ng-template", id="historyEntriesListTpl") ) .infinite-scroll-inner history-entry( - ng-repeat="entry in $ctrl.entries | filter:$ctrl.shouldShowEntry" + ng-repeat="entry in $ctrl.entries" entry="entry" current-user="$ctrl.currentUser" users="$ctrl.users" diff --git a/services/web/public/coffee/ide/history/components/historyEntriesList.coffee b/services/web/public/coffee/ide/history/components/historyEntriesList.coffee index f872b5d72a..934ca304fe 100644 --- a/services/web/public/coffee/ide/history/components/historyEntriesList.coffee +++ b/services/web/public/coffee/ide/history/components/historyEntriesList.coffee @@ -3,8 +3,6 @@ define [ ], (App) -> historyEntriesListController = ($scope, $element, $attrs) -> ctrl = @ - ctrl.shouldShowEntry = (entry) -> - !(ctrl.showOnlyLabelled and entry.labels.length == 0) return App.component "historyEntriesList", { @@ -18,7 +16,6 @@ define [ currentUser: "<" onEntrySelect: "&" onLabelDelete: "&" - showOnlyLabelled: "<" controller: historyEntriesListController templateUrl: "historyEntriesListTpl" }