mirror of
https://github.com/dkmstr/openuds.git
synced 2025-10-23 23:34:07 +03:00
Refactor GUI field handling to replace add_default_fields with default_fields for consistency
This commit is contained in:
@@ -96,7 +96,7 @@ class ServicesPoolGroups(ModelHandler[ServicePoolGroupItem]):
|
||||
|
||||
# Gui related
|
||||
def get_gui(self, type_: str) -> list[typing.Any]:
|
||||
local_gui = self.add_default_fields([], ['name', 'comments', 'priority'])
|
||||
local_gui = self.default_fields([], ['name', 'comments', 'priority'])
|
||||
|
||||
for field in [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user