Skip to content

Commit 39fa263

Browse files
Allow editing founders of sessions
1 parent 639b25d commit 39fa263

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/pages/sessions/session.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ import {
1010
CheckboxInput,
1111
} from "../../components/form.js";
1212
import { ModalContent } from "./modals.js";
13-
import { formatDateTime, formatFileSize, reformatSettings } from "../../api/format.js";
13+
import {
14+
formatDateTime,
15+
formatFileSize,
16+
reformatSettings,
17+
} from "../../api/format.js";
1418
import {
1519
getSession,
1620
changeSession,
@@ -46,7 +50,7 @@ const SessionInfo = ({ session, openModal, vprops, locked }) => {
4650
<ReadOnly value={session.alias} />
4751
</Field>
4852
<Field label="Started by">
49-
<ReadOnly value={session.founder} />
53+
<TextInput {...vprops("founder")} />
5054
</Field>
5155
<Field label="Started at">
5256
<ReadOnly value={formatDateTime(session.startTime)} />

0 commit comments

Comments
 (0)