From 03984f96d4450f5c163f984e80a86844a0fca19b Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 15 Apr 2023 16:21:16 -0500 Subject: [PATCH] Remove experimental tone probe --- client/components/tables/TracksTable.vue | 35 ------------------------ 1 file changed, 35 deletions(-) diff --git a/client/components/tables/TracksTable.vue b/client/components/tables/TracksTable.vue index 66d11f72..a4abaf94 100644 --- a/client/components/tables/TracksTable.vue +++ b/client/components/tables/TracksTable.vue @@ -24,14 +24,6 @@ {{ $strings.LabelSize }} {{ $strings.LabelDuration }} {{ $strings.LabelDownload }} - -
-

Tone

- - information - -
- @@ -92,35 +81,11 @@ export default { }, userIsAdmin() { return this.$store.getters['user/getIsAdminOrUp'] - }, - showExperimentalFeatures() { - return this.$store.state.showExperimentalFeatures } }, methods: { clickBar() { this.showTracks = !this.showTracks - }, - toneProbe(index) { - this.toneProbing = true - - this.$axios - .$post(`/api/items/${this.libraryItemId}/tone-scan/${index}`) - .then((data) => { - console.log('Tone probe data', data) - if (data.error) { - this.$toast.error('Tone probe error: ' + data.error) - } else { - this.$toast.success('Tone probe successful! Check browser console') - } - }) - .catch((error) => { - console.error('Failed to tone probe', error) - this.$toast.error('Tone probe failed') - }) - .finally(() => { - this.toneProbing = false - }) } }, mounted() {}