mirror of
https://github.com/meteor/meteor.git
synced 2026-01-10 08:08:24 -05:00
Update 6.filter-tasks.md
Simplified declaration of `pendingTasksTitle` removing unnecessary template literal.
This commit is contained in:
committed by
Italo José
parent
a103039a26
commit
44ce888dc6
@@ -103,9 +103,7 @@ You should avoid adding zero to your app bar when there are no pending tasks.
|
||||
TasksCollection.find(hideCompletedFilter).count()
|
||||
);
|
||||
|
||||
const pendingTasksTitle = `${
|
||||
pendingTasksCount ? ` (${pendingTasksCount})` : ''
|
||||
}`;
|
||||
const pendingTasksTitle = pendingTasksCount ? ` (${pendingTasksCount})` : '';
|
||||
..
|
||||
|
||||
<h1>
|
||||
|
||||
Reference in New Issue
Block a user