mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-13 17:48:14 +02:00
merge newui branch
This commit is contained in:
1 parent
58f605e90c
commit
4c44044c0c
804 files changed
+58660
-56663
No files matched your search
@@ -0,0 +1,14 @@
|
||||
// {
|
||||
// record: undefined,
|
||||
// field: undefined,
|
||||
// short: false,
|
||||
// }
|
||||
export function view(props) {
|
||||
return t.div(
|
||||
{ className: "record-field-view field-type-date" },
|
||||
app.components.formattedDate({
|
||||
value: () => props.record[props.field.name],
|
||||
short: () => props.short,
|
||||
}),
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user