Skip to content

Commit b64be29

Browse files
authored
updated with multi button close hover fix (#606)
1 parent 39b7093 commit b64be29

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ All notable changes to this project will be documented in this file. For commit
44

55
## v0.7.1-beta
66

7-
The media tags have been removed in favor of adding ffmpeg by default to all docker images.
8-
9-
**New Features**:
10-
- changes to support jwks token authentication needed for authelia -- still needs testing to ensure it works https://github.com/gtsteffaniak/filebrowser/issues/575
7+
The `media` tags introduced in 0.7.0 have been removed -- all docker images have media enabled now.
118

129
**Notes**:
10+
- changes to support jwks url needed for authelia - still needs testing to ensure it works https://github.com/gtsteffaniak/filebrowser/issues/575, added debug logs to help identify any further issues.
11+
- added apache license file back https://github.com/gtsteffaniak/filebrowser/discussions/599
1312
- updated toggle view icons to better match.
1413
- adjusted popup preview position on mobile.
1514
- updated createUserDir logic, https://github.com/gtsteffaniak/filebrowser/issues/541
@@ -23,6 +22,7 @@ The media tags have been removed in favor of adding ffmpeg by default to all doc
2322
- defaultUserScope is not respected https://github.com/gtsteffaniak/filebrowser/issues/589
2423
- defaultEnabled is not respected https://github.com/gtsteffaniak/filebrowser/issues/603
2524
- user has weird navigation barhttps://github.com/gtsteffaniak/filebrowser/issues/593
25+
- fix multibutton state issue for close overlay https://github.com/gtsteffaniak/filebrowser/issues/596
2626

2727
## v0.7.0-beta
2828

frontend/src/store/mutations.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import { serverHasMultipleSources } from "@/utils/constants.js";
99

1010
export const mutations = {
1111
setMultiButtonState: (value) => {
12+
if (state.multiButtonLastState != value) {
13+
state.multiButtonLastState = state.multiButtonState;
14+
}
1215
state.multiButtonState = value;
1316
emitStateChanged();
1417
},
@@ -156,6 +159,9 @@ export const mutations = {
156159
emitStateChanged();
157160
},
158161
closeHovers: () => {
162+
const previousState = state.multiButtonLastState;
163+
state.multiButtonLastState = mutations.multiButtonState;
164+
state.multiButtonState = previousState;
159165
state.prompts = [];
160166
if (!state.stickySidebar) {
161167
state.showSidebar = false;

frontend/src/store/state.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { detectLocale } from "@/i18n";
33

44
export const state = reactive({
55
multiButtonState: "menu",
6+
multiButtonLastState: "menu",
67
showOverflowMenu: false,
78
sessionId: "",
89
disableOnlyOfficeExt: "",

0 commit comments

Comments
 (0)