Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/renderer/components/laravel/LogView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ const displayLastLog = computed<boolean>({
if (!settingsStore.settings) return;
settingsStore.settings.display_last_log = val;
settingsStore.update();
if (!val) {
expandedLogId.value = null;
}
}
});
</script>
Expand Down Expand Up @@ -397,19 +400,19 @@ const displayLastLog = computed<boolean>({

<!-- Right: actions -->
<div class="flex items-center gap-1">
<!-- Display Last Toggle -->
<!-- Auto Expand Toggle -->
<div class="flex items-center gap-1.5 px-1">
<label
for="toggle-display-last"
class="text-[10px] uppercase tracking-wider font-semibold opacity-40 select-none cursor-pointer"
>Display Last</label
>Auto Expand</label
>
<input
id="toggle-display-last"
type="checkbox"
class="toggle toggle-xs toggle-success"
v-model="displayLastLog"
data-tippy-content="Display last (auto-expand newest)"
data-tippy-content="Auto expand newest log"
/>
</div>

Expand Down
Loading