Skip to content

Commit

Permalink
Removing dataset from dropdown to be added back later (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianForeman authored Mar 28, 2024
1 parent 73813fc commit ae5f367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/api/viewsets/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class UploadViewset(GenericViewSet):
@action(detail=False, methods=['get'])
def datasets_list(self, request):

incomplete_datasets = ['LDV Rebates', 'Specialty Use Vehicle Incentive Program', 'Public Charging -Remove Later', 'EV Charging Rebates', 'Hydrogen Fueling', 'Hydrogen Fleets', 'ARC Project Tracking', 'Data Fleets', 'Scrap It']
incomplete_datasets = ['LDV Rebates', 'Specialty Use Vehicle Incentive Program', 'Public Charging', 'EV Charging Rebates', 'Hydrogen Fueling', 'Hydrogen Fleets', 'ARC Project Tracking', 'Data Fleets', 'Scrap It']

datasets = Datasets.objects.all().exclude(name__in=incomplete_datasets)
serializer = DatasetsSerializer(datasets, many=True, read_only=True)
Expand Down

0 comments on commit ae5f367

Please sign in to comment.