Files
windmill/frontend/src/lib/components/table/tableUtils.ts
Faton Ramadani 78f80c8b0d feat(frontend): Rich table display (#3028)
* feat(frontend): rich debug table

* feat(frontend): rich debug table

* feat(frontend): rich debug table

* feat(frontend): wip

* feat(frontend): table v0

* feat(frontend): fix layout audit page

* feat(frontend): display rich result by default

* feat(frontend): add selected rows

* feat(frontend): add unique ids

* feat(frontend): restore max-h

* feat(frontend): md support + remove sorting on types that don't support comparaison

* feat(frontend): fix actions

* feat(frontend): fix md

* feat(frontend): fix md

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-18 17:26:46 +01:00

8 lines
185 B
TypeScript

export function isLink(value: string) {
return value?.startsWith('http://') || value?.startsWith('https://')
}
export function isEmail(value: string) {
return value?.includes('@')
}