admin-users-table.component.ts 353 Bytes
Newer Older
1
2
3
4
5
6
7
8
import Vue from 'vue';
import Component from 'vue-class-component';
import { User } from '@/shared/model/user.model';
import { Prop } from 'vue-property-decorator';

@Component
export default class AdminUsersTable extends Vue {
  @Prop()
9
  public users: User[];
10

11
  public getUserEditLink(userId: string) {
12
13
14
    return `/admin/user/${userId}/edit`;
  }
}