Skip to content

Commit

Permalink
Minor change to how chart block is shown
Browse files Browse the repository at this point in the history
  • Loading branch information
chosak committed Sep 21, 2022
1 parent c53962b commit b111e2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions cfgov/v1/atomic_elements/organisms.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,10 @@ class Media:


class WagtailChartsChartBlock(wagtailcharts.blocks.ChartBlock):
class Meta:
label = "Wagtail Charts Chart"
icon = "image"

class Media:
js = ["wagtail-charts-chart-block.js"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.2.15 on 2022-09-21 18:28
# Generated by Django 3.2.15 on 2022-09-21 20:44

import django.core.validators
from django.db import migrations
Expand All @@ -13,7 +13,7 @@
class Migration(migrations.Migration):

dependencies = [
('v1', '0216_heading_block_h5s'),
('v1', '0217_add_simple_chart'),
]

operations = [
Expand Down

0 comments on commit b111e2f

Please sign in to comment.