mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove default values
This commit is contained in:
parent
525923cdaa
commit
de0cb2e9ae
@ -350,7 +350,6 @@ class PluginPanelSerializer(serializers.Serializer):
|
|||||||
render_function = serializers.CharField(
|
render_function = serializers.CharField(
|
||||||
label=_('Render Function'),
|
label=_('Render Function'),
|
||||||
help_text=_('Function to render the panel content'),
|
help_text=_('Function to render the panel content'),
|
||||||
default='renderPanel',
|
|
||||||
required=False,
|
required=False,
|
||||||
allow_blank=True,
|
allow_blank=True,
|
||||||
)
|
)
|
||||||
@ -358,7 +357,6 @@ class PluginPanelSerializer(serializers.Serializer):
|
|||||||
hidden_function = serializers.CharField(
|
hidden_function = serializers.CharField(
|
||||||
label=_('Hidden Function'),
|
label=_('Hidden Function'),
|
||||||
help_text=_('Function name to determine if the the panel content is hidden'),
|
help_text=_('Function name to determine if the the panel content is hidden'),
|
||||||
default='isPanelHidden',
|
|
||||||
required=False,
|
required=False,
|
||||||
allow_blank=True,
|
allow_blank=True,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user