import { UISref } from '@uirouter/react'; import React from 'react'; import { SETTINGS } from '../../config'; import { SortToggle } from '../../presentation'; import type { IApplicationSummary } from '../service/ApplicationReader'; import { timestamp } from '../../utils'; export interface IApplicationTableProps { applications: IApplicationSummary[]; currentSort: string; toggleSort: (column: string) => void; } export const ApplicationTable = ({ currentSort, toggleSort, applications }: IApplicationTableProps) => ( {SETTINGS.feature.slack && } {applications.map((app) => { const appName = app.name.toLowerCase(); return ( {SETTINGS.feature.slack && } ); })}
Slack ChannelDescription
{appName} {timestamp(app.createTs)} {timestamp(app.updateTs)} {app.email} {app.accounts}{app.slackChannel?.name}{app.description}
);