lock <comp> in collocations

This commit is contained in:
Luka Kavčič 2020-09-03 13:46:14 +02:00
parent 4812c18a1d
commit c7a405fc46

View File

@ -64,6 +64,7 @@ def edit_example(example, sense):
result.append(h("span.example-component-button.example-component-none", result.append(h("span.example-component-button.example-component-none",
{"on": {"click": role_msg(idx, "none")}}, "N")) {"on": {"click": role_msg(idx, "none")}}, "N"))
if "-" not in example.inner.other_attributes["structureName"]:
result.extend([ result.extend([
h("span.example-component-button", h("span.example-component-button",
{"on": {"click": message.msg(message.ExampleComponentAdd, example_original, idx)}}, "+"), {"on": {"click": message.msg(message.ExampleComponentAdd, example_original, idx)}}, "+"),