fix(sonar): took down minor sonar warning

This commit is contained in:
Corentin Thomasset 2023-06-18 14:52:12 +02:00 committed by Corentin THOMASSET
parent ebfb872fae
commit 4cbd7ac145
2 changed files with 1 additions and 3 deletions

View file

@ -13,7 +13,7 @@ function sortObjectKeys<T>(obj: T): T {
} }
return Object.keys(obj) return Object.keys(obj)
.sort() .sort((a, b) => a.localeCompare(b))
.reduce((sortedObj, key) => { .reduce((sortedObj, key) => {
sortedObj[key] = sortObjectKeys((obj as Record<string, unknown>)[key]); sortedObj[key] = sortObjectKeys((obj as Record<string, unknown>)[key]);
return sortedObj; return sortedObj;

View file

@ -199,7 +199,6 @@ const htmlInputType = computed(() => {
} }
& > .label { & > .label {
flex-shrink: 0;
margin-bottom: 5px; margin-bottom: 5px;
flex: 0 0 v-bind('labelWidth'); flex: 0 0 v-bind('labelWidth');
text-align: v-bind('labelAlign'); text-align: v-bind('labelAlign');
@ -254,7 +253,6 @@ const htmlInputType = computed(() => {
-webkit-box-shadow: none; -webkit-box-shadow: none;
-moz-box-shadow: none; -moz-box-shadow: none;
box-shadow: none; box-shadow: none;
background-color: transparent;
border: none; border: none;
color: v-bind('appTheme.text.baseColor'); color: v-bind('appTheme.text.baseColor');