Skip to content
Snippets Groups Projects
Commit 3666b863 authored by Alberto Pianon's avatar Alberto Pianon
Browse files

fix data model field type


column "value" may also be boolean (False) to deactivate
the corresponding column identified in "override"

Signed-off-by: default avatarAlberto Pianon <alberto@pianon.eu>
parent 3a41732d
No related branches found
No related tags found
1 merge request!84update a4f for compatibility with Donnie/Oniro4OpenHarmony
Pipeline #65980 waiting for manual action
......@@ -248,10 +248,10 @@ class Column(BaseModel):
def __init__(
self,
text: str,
value: str,
value: Union[str, bool], # false to deactivate an existing column
type: str,
tooltip: str,
override: str
override: str # position of the column to override (or deactivate)
):
self.text = text
self.value = value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment