文件操作 - InviteesTable.tsx
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/grafana/public/app/features/users/InviteesTable.tsx
编辑文件内容
import React, { PureComponent } from 'react'; import { Invitee } from 'app/types'; import InviteeRow from './InviteeRow'; export interface Props { invitees: Invitee[]; } export default class InviteesTable extends PureComponent<Props> { render() { const { invitees } = this.props; return ( <table className="filter-table form-inline"> <thead> <tr> <th>Email</th> <th>Name</th> <th /> <th style={{ width: '34px' }} /> </tr> </thead> <tbody> {invitees.map((invitee, index) => { return <InviteeRow key={`${invitee.id}-${index}`} invitee={invitee} />; })} </tbody> </table> ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件