syntax fix
This commit is contained in:
parent
2a105e3892
commit
72a908134b
1 changed files with 4 additions and 5 deletions
|
|
@ -50,16 +50,15 @@ export default function CO2GalvoSettingsPage() {
|
|||
}
|
||||
}
|
||||
|
||||
// Initial load of settings (using user token via /api/dx proxy)
|
||||
useEffect(() => {
|
||||
setLoading(true);
|
||||
// ✅ include parent field `owner` AND subfields; use auth proxy
|
||||
const fields = [
|
||||
"submission_id",
|
||||
"setting_title",
|
||||
"uploader",
|
||||
"owner", // may be id or object depending on role
|
||||
"owner.id", // ask, but we won't depend on expansion
|
||||
"owner.username", // ask, but we won't depend on expansion
|
||||
"owner", // ← add comma here
|
||||
"owner.id",
|
||||
"owner.username",
|
||||
"photo.id",
|
||||
"photo.title",
|
||||
"mat.name",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue