Fix blank space in the subscription settings (#2372)

* Fix blank space in the subscription settings

* Remove the unused code instead of hiding it
This commit is contained in:
absidue 2022-07-28 04:10:22 +02:00 committed by GitHub
parent 9a01030919
commit 0539e68164
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 32 deletions

View File

@ -1,31 +1,17 @@
import Vue from 'vue' import Vue from 'vue'
import { mapActions } from 'vuex' import { mapActions } from 'vuex'
import FtCard from '../ft-card/ft-card.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtButton from '../ft-button/ft-button.vue'
import FtSelect from '../ft-select/ft-select.vue'
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
export default Vue.extend({ export default Vue.extend({
name: 'SubscriptionSettings', name: 'SubscriptionSettings',
components: { components: {
'ft-card': FtCard,
'ft-toggle-switch': FtToggleSwitch, 'ft-toggle-switch': FtToggleSwitch,
'ft-button': FtButton,
'ft-select': FtSelect,
'ft-flex-box': FtFlexBox 'ft-flex-box': FtFlexBox
}, },
data: function () { data: function () {
return { return {
title: 'Subscription Settings', title: 'Subscription Settings'
viewNames: [
'Basic',
'Modern'
],
viewValues: [
'basic',
'modern'
]
} }
}, },
computed: { computed: {

View File

@ -19,23 +19,6 @@
@change="updateUseRssFeeds" @change="updateUseRssFeeds"
/> />
</ft-flex-box> </ft-flex-box>
<br>
<ft-flex-box>
<ft-select
v-if="false"
placeholder="Subscription View Type"
:value="viewValues[0]"
:select-names="viewNames"
:select-values="viewValues"
/>
</ft-flex-box>
<br>
<ft-flex-box>
<ft-button
v-if="false"
label="Manage My Subscriptions"
/>
</ft-flex-box>
</details> </details>
</template> </template>