Skip to content

Commit 922a214

Browse files
committed
Merge branch 'notes-column-loading-slow' of Arnei/opencast-admin-interface into main
Pull request #1112 Fix notes column loading slowly sometimes
2 parents aea3421 + e91146a commit 922a214

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/slices/eventSlice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export const fetchEvents = createAppAsyncThunk('events/fetchEvents', async (_, {
247247
}
248248

249249
// Only if the notes column is enabled, fetch comment information for events
250-
if (state.table.columns.find(column => column.label === "EVENTS.EVENTS.TABLE.ADMINUI_NOTES" && !column.deactivated)) {
250+
if (state.events.columns.find(column => column.label === "EVENTS.EVENTS.TABLE.ADMINUI_NOTES" && !column.deactivated)) {
251251
params = {
252252
...params,
253253
getComments: true

0 commit comments

Comments
 (0)