Skip to content

Commit

Permalink
Fix docs: icon not rendered in writing custom views (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
WiraDKP authored Nov 3, 2023
1 parent 31de230 commit d688968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/writing_custom_views.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To add custom views to the Admin interface, you can use the `BaseView` included

class ReportView(BaseView):
name = "Report Page"
icon = "fa-chart-line"
icon = "fa-solid fa-chart-line"

@expose("/report", methods=["GET"])
async def report_page(self, request):
Expand Down Expand Up @@ -62,7 +62,7 @@ The example above was very basic and you probably want to access database and SQ

class ReportView(BaseView):
name = "Report Page"
icon = "fa-chart-line"
icon = "fa-solid fa-chart-line"

@expose("/report", methods=["GET"])
async def report_page(self, request):
Expand Down

0 comments on commit d688968

Please sign in to comment.