summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/join.pipe.ts
blob: 68610846ea1cc63272c4fda4e9561aaf43d3f759 (plain)
1
2
3
4
5
6
7
8
9
10
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'join'
})
export class JoinPipe implements PipeTransform {
  transform(value: Array<any>): string {
    return value.join(', ');
  }
}