diff --git a/client/src/pages/Admin/components/AdminToolsView.tsx b/client/src/pages/Admin/components/AdminToolsView.tsx index 3598829b..f266e5eb 100644 --- a/client/src/pages/Admin/components/AdminToolsView.tsx +++ b/client/src/pages/Admin/components/AdminToolsView.tsx @@ -379,14 +379,6 @@ const SelectScenesTable = ({ onUpdateSelection, data, col }, [resetSelection]); - useEffect(() => { - console.log('new data'); - - // reapply the filters - - // return to first page - // setPage(0); - }, [data]); // JSX return ( @@ -597,8 +589,9 @@ const AdminToolsBatchGeneration = (): React.ReactElement => { const getColumnHeader = (): ColumnHeader[] => { return [ { key: 'id', label: 'ID', align: 'center' }, - { key: 'name', label: 'Scene Name', align: 'center', link: true }, - { key: 'subject.name', label: 'Subject Name', align: 'center' }, + { key: 'name', label: 'Scene', align: 'center', link: true }, + { key: 'mediaGroup.name', label: 'Media Group', align: 'center' }, + { key: 'subject.name', label: 'Subject', align: 'center' }, { key: 'downloads.status', label: 'Downloads', align: 'center' }, { key: 'publishedState', label: 'Published', align: 'center' }, // { key: 'datePublished', label: 'Published (Date)', align: 'center' }, diff --git a/server/http/routes/api/project.ts b/server/http/routes/api/project.ts index 35e7216e..894fe4ac 100644 --- a/server/http/routes/api/project.ts +++ b/server/http/routes/api/project.ts @@ -43,7 +43,8 @@ const isAuthorized = async (req: Request): Promise => { const authorizedUsers: number[] = [ 2, // Jon Blundell 4, // Jamie Cope - 5 // Eric Maslowski + 5, // Eric Maslowski + 6, // Megan Dattoria ]; if(!authorizedUsers.includes(LS.idUser)) { LOG.error(`API.getProjects failed. user is not authorized for this request (${LS.idUser})`,LOG.LS.eHTTP);