Skip to content

Commit

Permalink
fix failed test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
suraj-webkul committed Aug 28, 2024
1 parent 0fdedd5 commit e6a90d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/Webkul/Activity/src/Traits/LogsActivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected static function booted(): void
if (! method_exists($model->entity ?? $model, 'activities')) {
return;
}

$model->activities()->delete();
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class="flex"
class="stage relative flex h-7 min-w-24 cursor-pointer items-center justify-center bg-white pl-7 pr-4 dark:bg-gray-900 ltr:first:rounded-l-lg rtl:first:rounded-r-lg"
:class="{
'!bg-green-500 text-white dark:text-gray-900 ltr:after:bg-green-500 rtl:before:bg-green-500': currentStage.sort_order >= stage.sort_order,
'!bg-red-500 text-white dark:text-gray-900 after:bg-red-500': currentStage.code == 'lost',
'!bg-red-500 text-white dark:text-gray-900 ltr:after:bg-red-500 rtl:before:bg-red-500': currentStage.code == 'lost',
}"
v-if="! ['won', 'lost'].includes(stage.code)"
@click="update(stage)"
Expand Down

0 comments on commit e6a90d7

Please sign in to comment.