Skip to content

Commit 48c2f16

Browse files
committed
change show initializing to show stalled
1 parent 5418f1f commit 48c2f16

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

src/components/QueueItem.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
],
2828
methods: {
2929
shouldShow () {
30-
return this.queue.downloading.status === 'warning' ? this.$store.state.settings.showInitializing : true
30+
return this.queue.downloading.status === 'stalled' ? this.$store.state.settings.showStalled : true
3131
}
3232
},
3333
computed: {
@@ -101,12 +101,13 @@ div {
101101
}
102102
}
103103
&.queued,
104+
&.stalled,
104105
&.paused,
105106
&.starting,
106107
&.warning,
107108
&.unknown {
108109
span {
109-
padding: 10px;
110+
padding: 10px !important;
110111
}
111112
}
112113
}

src/store.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default new Vuex.Store({
2727
alwaysShowToday: true,
2828
showCinemaRelease: false,
2929
relativeCaldendar: true,
30-
showInitializing: false
30+
showStalled: false
3131
}
3232
},
3333
mutations: {
@@ -61,8 +61,8 @@ export default new Vuex.Store({
6161
relativeCaldendar (state, payload) {
6262
state.settings.relativeCaldendar = payload
6363
},
64-
showInitializing (state, payload) {
65-
state.settings.showInitializing = payload
64+
showStalled (state, payload) {
65+
state.settings.showStalled = payload
6666
}
6767
},
6868
actions: {}

src/views/Settings.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
<h2>Queue Settings</h2>
7676
<div class="checkbox">
7777
<label>
78-
Show initializing downloads
79-
<input type="checkbox" v-model="showInitializing" />
78+
Show stalled downloads
79+
<input type="checkbox" v-model="showStalled" />
8080
<span></span>
8181
</label>
8282
</div>
@@ -164,12 +164,12 @@ export default {
164164
this.$store.commit('relativeCaldendar', value)
165165
}
166166
},
167-
showInitializing: {
167+
showStalled: {
168168
get () {
169-
return this.$store.state.settings.showInitializing
169+
return this.$store.state.settings.showStalled
170170
},
171171
set (value) {
172-
this.$store.commit('showInitializing', value)
172+
this.$store.commit('showStalled', value)
173173
}
174174
}
175175
}

0 commit comments

Comments
 (0)