Fix(UI): UI bug fixes.
This commit is contained in:
@@ -99,7 +99,7 @@ class Command_Category_Temp(db.Model, Base):
|
||||
__table_args__ = { 'extend_existing': True }
|
||||
id_temp = db.Column(db.Integer, primary_key=True)
|
||||
id_command_category = db.Column(db.Integer)
|
||||
code = db.Column(db.String(100))
|
||||
# code = db.Column(db.String(100))
|
||||
name = db.Column(db.String(250))
|
||||
active = db.Column(db.Boolean)
|
||||
guid: str = db.Column(db.String(36))
|
||||
@@ -112,7 +112,7 @@ class Command_Category_Temp(db.Model, Base):
|
||||
_m = 'Command_Category_Temp.from_Command_Category'
|
||||
temp = cls()
|
||||
temp.id_command_category = command_category.id_command_category
|
||||
temp.code = command_category.code
|
||||
# temp.code = command_category.code
|
||||
temp.name = command_category.name
|
||||
temp.active = command_category.active
|
||||
return temp
|
||||
Reference in New Issue
Block a user