mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-26 10:40:18 +08:00
example bug fix
This commit is contained in:
@ -122,7 +122,7 @@ class ConfigResource(Model):
|
||||
def row_attributes(self, obj: dict) -> dict:
|
||||
if obj.get("status") == enums.Status.on:
|
||||
return {"class": "bg-green text-white"}
|
||||
return super(ConfigResource, self).row_attributes(obj)
|
||||
return super().row_attributes(obj)
|
||||
|
||||
|
||||
@app.register
|
||||
|
Reference in New Issue
Block a user