Javascript error viewing user/logs for a user without logs

Created on 1 March 2023, over 1 year ago
Updated 30 April 2023, over 1 year ago

Problem/Motivation

When viewing the logs-page of a user (user/uid/logs) without logs, there is a javascript error: Uncaught TypeError: drupalSettings.entity_activity is undefined

Steps to reproduce

View the logs page of a freshly created user or one without logs.

Proposed resolution

Add a if-statement preventing the error.

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Fixed

Component

Code

Created by

🇳🇱Netherlands spadxiii

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024