Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benjreinhart committed May 7, 2021
1 parent cd690f1 commit 2ebf6cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flask_appbuilder/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def add_view(
:param menu_cond:
If a callable, :code:`menu_cond` will be invoked when
constructing the menu items. If it returns :code:`True`,
then this link will part of the menu. Otherwise, it
then this link will be a part of the menu. Otherwise, it
will not be included in the menu items. Defaults to
:code:`None`, meaning the item will always be present.
Expand Down Expand Up @@ -484,7 +484,7 @@ def add_link(
:param cond:
If a callable, :code:`cond` will be invoked when
constructing the menu items. If it returns :code:`True`,
then this link will part of the menu. Otherwise, it
then this link will be a part of the menu. Otherwise, it
will not be included in the menu items. Defaults to
:code:`None`, meaning the item will always be present.
"""
Expand Down Expand Up @@ -513,8 +513,8 @@ def add_separator(self, category, cond=None):
:param cond:
If a callable, :code:`cond` will be invoked when
constructing the menu items. If it returns :code:`True`,
then this separator will part of the menu. Otherwise, it
will not be included in the menu items. Defaults to
then this separator will be a part of the menu. Otherwise,
it will not be included in the menu items. Defaults to
:code:`None`, meaning the separator will always be present.
"""
self.menu.add_separator(category, cond=cond)
Expand Down

0 comments on commit 2ebf6cd

Please sign in to comment.