Remove unneeded getter
This commit is contained in:
parent
a313b95625
commit
411ee0b7f8
|
@ -71,9 +71,6 @@ const ImageViewer = {
|
||||||
const notLast = (state.currentIndex < (state.mediaList.length - 1))
|
const notLast = (state.currentIndex < (state.mediaList.length - 1))
|
||||||
const isManyItem = (state.mediaList.length > 1)
|
const isManyItem = (state.mediaList.length > 1)
|
||||||
return (notLast && isManyItem)
|
return (notLast && isManyItem)
|
||||||
},
|
|
||||||
loading (state) {
|
|
||||||
return state.loading
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue