Skip to content

Commit

Permalink
Format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DaymasS committed Aug 11, 2024
1 parent 62cf0c9 commit dfaef7c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/views/apps/AsyncContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ if (!appsStore.categories) {
await ServicesApi.getCategories([CategoryInfo.Buttons]);
}
for (let categoryIndex = 0; categoryIndex < appsStore.categories.length; categoryIndex++) {
appsStore.categories[categoryIndex].buttons = appsStore.categories[categoryIndex].buttons.filter(
button => button.view !== ButtonView.Hidden
);
if (appsStore.categories) {
for (let categoryIndex = 0; categoryIndex < appsStore.categories.length; categoryIndex++) {
appsStore.categories[categoryIndex].buttons = appsStore.categories[
categoryIndex
].buttons.filter(button => button.view !== ButtonView.Hidden);
}
}
const sendMarketing = (url: string) => {
Expand Down

0 comments on commit dfaef7c

Please sign in to comment.