Skip to content

Commit

Permalink
test and logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorCapCoder committed Jan 8, 2024
1 parent 6eb5e25 commit 11288ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/rooms/RoomExternalToolCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
</room-card-chip>
<room-card-chip
v-if="isToolIncomplete"
data-testId="tool-card-status-incomplete"
>{{ t("pages.rooms.tools.incomplete") }}
</room-card-chip>
<room-card-chip
v-if="isToolOutdated"
data-testId="tool-card-status-incomplete"
>{{ t("pages.rooms.tools.incomplete") }}
</room-card-chip>
<room-card-chip
v-if="isToolOutdated"
data-testId="tool-card-status-outdated"
>
{{ t("pages.rooms.tools.outdated") }}
Expand Down Expand Up @@ -133,8 +133,8 @@ export default defineComponent({
const isToolLaunchable = computed(() => {
return (
!isToolOutdated.value ||
!isToolDeactivated.value ||
!isToolOutdated.value &&
!isToolDeactivated.value &&
!isToolIncomplete.value
);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const schoolToolConfigurationStatusFactory =
return {
isOutdatedOnScopeContext: false,
isOutdatedOnScopeSchool: false,
isIncompleteOnScopeContext: false,
isDeactivated: false,
};
});

0 comments on commit 11288ac

Please sign in to comment.