Dear Gitlab users, due to maintenance reasons, Gitlab will not be available on Thursday 30.09.2021 from 5:00 pm to approximately 5:30 pm.

Commit 5353ad1b authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: show hidden properties

parent 5b895253
......@@ -468,7 +468,9 @@ function useItemMetadata({
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const type = property.type!
if (
type.hidden === true ||
// The api returns hidden properties only for authenticated users with role moderator/administrator,
// and we want to show hidden properties in the ui for these users.
// type.hidden === true ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment