diff --git a/api/funkwhale_api/manage/serializers.py b/api/funkwhale_api/manage/serializers.py index bbd393236..02300ec06 100644 --- a/api/funkwhale_api/manage/serializers.py +++ b/api/funkwhale_api/manage/serializers.py @@ -74,6 +74,7 @@ class ManageTrackFileSerializer(serializers.ModelSerializer): class ManageTrackFileActionSerializer(common_serializers.ActionSerializer): actions = ['delete'] + dangerous_actions = ['delete'] filterset_class = filters.ManageTrackFileFilterSet @transaction.atomic diff --git a/front/src/components/common/ActionTable.vue b/front/src/components/common/ActionTable.vue index 718e57b19..5221c3282 100644 --- a/front/src/components/common/ActionTable.vue +++ b/front/src/components/common/ActionTable.vue @@ -21,7 +21,7 @@ :class="['ui', {disabled: checked.length === 0}, {'loading': actionLoading}, 'button']"> {{ $t('Go') }} @@ -36,7 +36,7 @@
{{ $t('{% count %} on {% total %} selected', {count: objectsData.count, total: objectsData.count}) }} {{ $t('{% count %} on {% total %} selected', {count: checked.length, total: objectsData.count}) }} -