Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Nov 20, 2024
1 parent c04562d commit 56f998f
Show file tree
Hide file tree
Showing 7 changed files with 406 additions and 427 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,15 @@
setup() {
const { createSnackbar, clearSnackbar } = useSnackbar();
const { noResourcesInLessonLabel$ } = coachStrings;
const {
moveResourceUpButtonDescription$,
moveResourceDownButtonDescription$
} = searchAndFilterStrings;
const { moveResourceUpButtonDescription$, moveResourceDownButtonDescription$ } =
searchAndFilterStrings;
return {
PageNames,
noResourcesInLessonLabel$,
createSnackbar,
clearSnackbar,
moveResourceUpButtonDescription$,
moveResourceDownButtonDescription$
moveResourceDownButtonDescription$,
};
},
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<!-- Mousedown.prevent is needed to avoid user selection -->
<DragSortWidget
class="sort-widget"
:moveUpText="()=>$tr('moveResourceUpButtonDescription')"
:moveDownText="()=>$tr('moveResourceDownButtonDescription')"
:moveUpText="() => $tr('moveResourceUpButtonDescription')"
:moveDownText="() => $tr('moveResourceDownButtonDescription')"
:isFirst="index === 0"
:isLast="index === entries.length - 1"
@moveUp="moveUpOne(index)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
<DragSortWidget
class="sort-widget"
:moveUpText="upLabel$()"
:moveDownText=" downLabel$()"
:moveDownText="downLabel$()"
:noDrag="true"
:isFirst="index === 0"
:isLast="index === activeQuestions.length - 1"
Expand Down Expand Up @@ -398,10 +398,7 @@
const dragActive = ref(false);
const { createSnackbar } = useSnackbar();
const{
upLabel$,
downLabel$,
} = searchAndFilterStrings;
const { upLabel$, downLabel$ } = searchAndFilterStrings;
return {
dragActive,
Expand Down Expand Up @@ -515,7 +512,6 @@
},
];
},
},
created() {
const { query } = this.$route;
Expand Down
Loading

0 comments on commit 56f998f

Please sign in to comment.