This PR refactors the way alert and silence lists are rendered, by removing v-if from v-for directives. This way we avoid any runtime errors and unnecessary iterations.
Detailed changes
Update computed field to return Map instead of Set
Use these new maps in v-for to avoid the need for additional filters
Description
This PR refactors the way alert and silence lists are rendered, by removing
v-if
fromv-for
directives. This way we avoid any runtime errors and unnecessary iterations.Detailed changes
computed
field to returnMap
instead ofSet
v-for
to avoid the need for additional filtersindex
variable in iterations