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:
		
							parent
							
								
									9a01030919
								
							
						
					
					
						commit
						0539e68164
					
				| 
						 | 
				
			
			@ -1,31 +1,17 @@
 | 
			
		|||
import Vue from 'vue'
 | 
			
		||||
import { mapActions } from 'vuex'
 | 
			
		||||
import FtCard from '../ft-card/ft-card.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'
 | 
			
		||||
 | 
			
		||||
export default Vue.extend({
 | 
			
		||||
  name: 'SubscriptionSettings',
 | 
			
		||||
  components: {
 | 
			
		||||
    'ft-card': FtCard,
 | 
			
		||||
    'ft-toggle-switch': FtToggleSwitch,
 | 
			
		||||
    'ft-button': FtButton,
 | 
			
		||||
    'ft-select': FtSelect,
 | 
			
		||||
    'ft-flex-box': FtFlexBox
 | 
			
		||||
  },
 | 
			
		||||
  data: function () {
 | 
			
		||||
    return {
 | 
			
		||||
      title: 'Subscription Settings',
 | 
			
		||||
      viewNames: [
 | 
			
		||||
        'Basic',
 | 
			
		||||
        'Modern'
 | 
			
		||||
      ],
 | 
			
		||||
      viewValues: [
 | 
			
		||||
        'basic',
 | 
			
		||||
        'modern'
 | 
			
		||||
      ]
 | 
			
		||||
      title: 'Subscription Settings'
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  computed: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,23 +19,6 @@
 | 
			
		|||
        @change="updateUseRssFeeds"
 | 
			
		||||
      />
 | 
			
		||||
    </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>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue