Disable editing when userbadge is disabled
This commit is contained in:
parent
97c3b52236
commit
52f53eb6b6
3 changed files with 8 additions and 2 deletions
|
@ -35,11 +35,14 @@ export default class EditableTagRendering extends UIElement {
|
|||
|
||||
if (this._configuration.question !== undefined) {
|
||||
// 2.3em total width
|
||||
if(State.state.featureSwitchUserbadge.data){
|
||||
|
||||
this._editButton =
|
||||
Svg.pencil_ui().SetClass("edit-button")
|
||||
.onClick(() => {
|
||||
self._editMode.setData(true);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// And at last, set up the skip button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue