Commit 117f12e6 authored by Laurent Wouters's avatar Laurent Wouters
Browse files

[fix] Refactoring the popup UI

parent 4c12710fa90e
......@@ -77,6 +77,31 @@ export class CurrentTabViews extends React.Component<CurrentTabViewsProps, {}> {
);
}
)}
<hr />
{Object.keys(this.props.registry.descriptors).map(
(viewId: string, index: number) => {
if (
this.props.data.rendering.evaluations.find(
(value: application.RenderingEvaluation) =>
value.viewId == viewId
)
)
return null;
let view = this.props.registry.descriptors[viewId];
<div key={"view-" + index} className="row">
<div className="col-12">
<span
title="Priority for this view"
className="badge badge-secondary"
style={{ marginRight: "5pt" }}
>
{"disabled"}
</span>
<span>{view.name}</span>
</div>
</div>;
}
)}
</div>
);
}
......
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