Fix/time picker glitch (#542)
* update twake-mui * #537 fix time picker glitch
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import SettingsPage from "@/features/Settings/SettingsPage";
|
||||
import { api } from "@/utils/apiUtils";
|
||||
import * as timezoneUtils from "@/utils/timezone";
|
||||
import "@testing-library/jest-dom";
|
||||
import { fireEvent, screen, waitFor } from "@testing-library/react";
|
||||
import { renderWithProviders } from "../../utils/Renderwithproviders";
|
||||
@@ -609,6 +610,8 @@ describe("SettingsPage", () => {
|
||||
},
|
||||
};
|
||||
|
||||
jest.spyOn(timezoneUtils, "getTimezoneOffset").mockReturnValue("UTC");
|
||||
|
||||
renderWithProviders(<SettingsPage />, stateWithoutTimeZone);
|
||||
|
||||
const timezoneInput = screen.getByDisplayValue("UTC (UTC)");
|
||||
|
||||
Generated
+4
-4
@@ -17,7 +17,7 @@
|
||||
"@fullcalendar/moment-timezone": "^6.1.19",
|
||||
"@fullcalendar/react": "^6.1.17",
|
||||
"@fullcalendar/timegrid": "^6.1.17",
|
||||
"@linagora/twake-mui": "1.1.8",
|
||||
"@linagora/twake-mui": "1.2.0",
|
||||
"@lottiefiles/dotlottie-react": "^0.17.13",
|
||||
"@mui/icons-material": "^7.1.2",
|
||||
"@mui/material": "^7.1.2",
|
||||
@@ -3143,9 +3143,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@linagora/twake-mui": {
|
||||
"version": "1.1.8",
|
||||
"resolved": "https://npm.pkg.github.com/download/@linagora/twake-mui/1.1.8/e629a126e62dffd939a8d3d8de3ce024de5a2154",
|
||||
"integrity": "sha512-H2MxtZIy5w1A8VNTNAoM4Pjuph/et4YP8DfzQ+5HCsjRJn6SA/T3nZRZOqC26SxY9kl3XJCKIEKklL+x5af7Vg==",
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://npm.pkg.github.com/download/@linagora/twake-mui/1.2.0/7b3eb115d70693ba2936ceaac70a8df3bae92672",
|
||||
"integrity": "sha512-wKdkuJE48sFE5q2HWbrgI+FIZmBZefz5X5GAwiYHwvAD+9Fr/M+k973ZNSdaxwogWsQ604lZEBoIl13vKdc9EQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"react": "^18.2.0",
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
"@fullcalendar/moment-timezone": "^6.1.19",
|
||||
"@fullcalendar/react": "^6.1.17",
|
||||
"@fullcalendar/timegrid": "^6.1.17",
|
||||
"@linagora/twake-mui": "1.1.8",
|
||||
"@linagora/twake-mui": "1.2.0",
|
||||
"@lottiefiles/dotlottie-react": "^0.17.13",
|
||||
"@mui/icons-material": "^7.1.2",
|
||||
"@mui/material": "^7.1.2",
|
||||
|
||||
@@ -367,8 +367,6 @@ tbody > tr.fc-scrollgrid-section:first-of-type .fc-scroller
|
||||
li.MuiButtonBase-root.MuiMenuItem-root
|
||||
padding 8px 16px
|
||||
font-size 14px
|
||||
color #243B55
|
||||
min-width 120px
|
||||
|
||||
&:hover
|
||||
background #f6f6f7
|
||||
|
||||
Reference in New Issue
Block a user