From 5aaf16c685717e132ce80b2ac7bb9cf0af1a12bc Mon Sep 17 00:00:00 2001 From: Christoph Friedrich Date: Tue, 19 Jan 2021 18:03:38 +0100 Subject: [PATCH] Remove version props, count variables and refs Version props are no longer necessary for the vue-components (they just expect the latest format) -- not a problem since the Hub will soon drop 0.4 support anyway, see #86 The code that filled the count variables was already dropped in b572a32, so their uses are to be removed too, and with that the refs that were used to access the components from the code (counting is now built into the vue-components directly; they now have their own headings). --- src/components/Backend.vue | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/src/components/Backend.vue b/src/components/Backend.vue index d894310..582b969 100644 --- a/src/components/Backend.vue +++ b/src/components/Backend.vue @@ -33,10 +33,10 @@
-

{{collapsed.functionalities ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'Supported'}} functionalities {{supportedFunctionalitiesCount}}

+

{{collapsed.functionalities ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'Supported'}} functionalities

- +
@@ -54,38 +54,38 @@
-

{{collapsed.inputFormats ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'All'}} input formats ({{supportedInputFormatsCount}})

+

{{collapsed.inputFormats ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'All'}} input formats

- +
-

{{collapsed.outputFormats ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'All'}} output formats ({{supportedOutputFormatsCount}})

+

{{collapsed.outputFormats ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'All'}} output formats

- +
-

{{collapsed.serviceTypes ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'All'}} service types ({{supportedServiceTypesCount}})

+

{{collapsed.serviceTypes ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'All'}} service types

- +
-

{{collapsed.udfRuntimes ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'All'}} UDF runtimes ({{supportedUdfRuntimesCount}})

+

{{collapsed.udfRuntimes ? '▸' : '▾'}} {{isSearchResult ? 'Matched' : 'All'}} UDF runtimes

- +

{{collapsed.billing ? '▸' : '▾'}} Billing information

- +
@@ -185,12 +185,7 @@ export default { serviceTypes: true, udfRuntimes: true, billing: true - }, - supportedFunctionalitiesCount: '', - supportedInputFormatsCount: undefined, - supportedOutputFormatsCount: undefined, - supportedServiceTypesCount: undefined, - supportedUdfRuntimesCount: undefined + } }; },