Skip to content

Commit

Permalink
fix: logic issue preventing share to mclogs btn
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Song <[email protected]>
  • Loading branch information
ferothefox committed Oct 26, 2024
1 parent 41f893f commit 320054f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const props = defineProps<{
}>();
const isLogFile = computed(() => {
return props.filePath?.startsWith("logs") && props.filePath?.endsWith(".log");
return props.filePath?.startsWith("logs") || props.filePath?.endsWith(".log");
});
defineEmits<{
Expand Down

0 comments on commit 320054f

Please sign in to comment.