Skip to content

Commit

Permalink
Fix render method AccessTokenWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
vispar-tech committed Feb 14, 2023
1 parent 22b1f25 commit c2734bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jet/dashboard/dashboard_modules/yandex_metrika.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def api_stat_traffic_summary(self, counter, date1, date2, group=None):
class AccessTokenWidget(Widget):
module = None

def render(self, name, value, attrs=None):
def render(self, name, value, attrs=None, renderer=None):
if value and len(value) > 0:
link = '<a href="%s">%s</a>' % (
reverse('jet-dashboard:yandex-metrika-revoke', kwargs={'pk': self.module.model.pk}),
Expand Down

0 comments on commit c2734bb

Please sign in to comment.