Small tweaks 2 (#310)
This commit is contained in:
parent
c168599c91
commit
7f9e6ac184
|
@ -179,7 +179,7 @@
|
|||
font-family: 'Material Symbols Outlined';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(../assets/fonts/material/symbols-outlined.woff2) format('woff');
|
||||
src: url(../assets/fonts/material/symbols-outlined.woff) format('woff');
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
|
|
|
@ -45,6 +45,9 @@ export const getters = {
|
|||
getFirstSelected: () => state.req.items[state.selected[0]],
|
||||
isSingleFileSelected: () => getters.selectedCount() === 1 && getters.getFirstSelected()?.type != "directory",
|
||||
selectedDownloadUrl() {
|
||||
if (state.isSearchActive) {
|
||||
return state.selected[0].url;
|
||||
}
|
||||
let selectedItem = state.selected[0]
|
||||
return state.req.items[selectedItem].url;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue