Project

General

Profile

Actions

Cleanup #48051

closed

mgr/dashboard: Use pipe instead of calling function within template

Added by Volker Theile over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
UI
Target version:
% Done:

0%

Tags:
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:

Description

Use pipes instead of calling functins from within templates to reduce the number of calls during Angular change detection.

See https://blog.appverse.io/why-it-is-a-bad-idea-to-use-methods-in-the-html-templates-with-angular-2-30d49f0d3b16


Related issues 4 (1 open3 closed)

Related to Dashboard - Bug #47494: mgr/dashboard: Dashboard becomes unresponsive when SMART data not availableResolvedKiefer Chang

Actions
Related to Dashboard - Bug #48181: mgr/dashboard: Use pipe instead of calling function within template wherever possibleResolvedVolker Theile

Actions
Is duplicate of Dashboard - Bug #42908: mgr/dashboard: some components call repeatedly the same method (up to 12 times/second)In ProgressErnesto Puerta

Actions
Copied to Dashboard - Backport #48226: octopus: mgr/dashboard: Use pipe instead of calling function within templateResolvedKiefer ChangActions
Actions

Also available in: Atom PDF