Skip to content

Commit

Permalink
v0.0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
amisadmin committed Mar 17, 2022
1 parent 441f0b0 commit 6fa0619
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fastapi_amis_admin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.0.18"
__version__ = "0.0.19"
__url__ = "https://github.com/amisadmin/fastapi_amis_admin"
6 changes: 3 additions & 3 deletions fastapi_amis_admin/amis_admin/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


class DocsAdmin(IframeAdmin):
group_schema = PageSchema(label='APIDocs', sort=-100)
group_schema = PageSchema(label='APIDocs', icon='fa fa-book', sort=-100)
page_schema = PageSchema(label='AdminDocs', icon='fa fa-book')

@property
Expand All @@ -27,7 +27,7 @@ def src(self):


class ReDocsAdmin(IframeAdmin):
group_schema = PageSchema(label='APIDocs', sort=-100)
group_schema = PageSchema(label='APIDocs', icon='fa fa-book', sort=-100)
page_schema = PageSchema(label='AdminRedocs', icon='fa fa-book')

@property
Expand All @@ -37,7 +37,7 @@ def src(self):

class HomeAdmin(PageAdmin):
group_schema = None
page_schema = PageSchema(label='Home', icon='fa fa-home', url='/home', isDefaultPage=True,sort=100)
page_schema = PageSchema(label='Home', icon='fa fa-home', url='/home', isDefaultPage=True, sort=100)
page_path = '/home/amis.json'

async def get_page(self, request: Request) -> Page:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies = [
[project.urls]
Documentation = "http://docs.amis.work/"
Source = "https://github.com/amisadmin/fastapi_amis_admin"
FastAPI-User-Auth = "https://github.com/amisadmin/fastapi_user_auth"

[project.optional-dependencies]
test = [
Expand Down

0 comments on commit 6fa0619

Please sign in to comment.