@ -26,7 +26,7 @@
>
<template #body="slotProps">
<div class="flex items-center">
<BaseIcon v-if="getSessionId(slotProps.data)" icon="star" size="small" class="text-yellow-500 mr-2" />
<BaseIcon v-if="getSessionId(slotProps.data)" icon="session-star" size="small" class="mr-2" />
{{ slotProps.data.title }}
</div>
</template>
@ -1847,7 +1847,7 @@ class Exercise
$exerciseId,
$this->sessionId
);
if (false !== $linkInfo) {
if (!empty($linkInfo)) {
GradebookUtils::remove_resource_from_course_gradebook($linkInfo['id']);
}