Skip to content

Commit

Permalink
Merge pull request #1267 from PyPlanet/feature/1218-1
Browse files Browse the repository at this point in the history
Rankings: fixed incorrect app check in map list view actions.
  • Loading branch information
TheMaximum committed Aug 29, 2023
2 parents d971fad + 3ea9936 commit ba937db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyplanet/apps/contrib/rankings/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async def get_data(self):

async def get_actions(self):
custom_actions = list()
if 'rankings' in self.app.instance.apps.apps:
if 'jukebox' in self.app.instance.apps.apps:
custom_actions.append(dict(
name='Add to folder',
action=self.app.instance.apps.apps['jukebox'].add_to_folder,
Expand Down

0 comments on commit ba937db

Please sign in to comment.