📅  最后修改于: 2022-03-11 14:48:26.594000             🧑  作者: Mango
//use ternary operator on your list and apply the pipes you need
*ngFor="let a of (condition ? (arr | pipe) : (arr | pipe2))"