Skip to content

Commit

Permalink
Merge pull request #38 from simonsobs/dev
Browse files Browse the repository at this point in the history
Remove the clear button for stdout
  • Loading branch information
TaiSakuma authored Mar 26, 2024
2 parents 6f433b4 + 2202941 commit ce5fb81
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/components/main/console-frame/ConsoleFrame.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@
</v-tab>
</v-tabs>
<v-spacer></v-spacer>
<v-tooltip bottom open-delay="500">
<template v-slot:activator="{ props }">
<v-btn
v-bind="props"
icon="mdi-eraser"
density="compact"
:disabled="!data?.stdout"
@click="clear"
>
</v-btn>
</template>
<span>Clear</span>
</v-tooltip>
</v-card-actions>
<v-card-text id="main" class="g-content py-1">
<pre
Expand All @@ -52,9 +39,6 @@ const handleSubscription = (
return { stdout: messages.stdout + response.stdout };
};
const subscription = useStdoutSubscription({}, handleSubscription);
function clear() {
if (subscription.data?.value) subscription.data.value.stdout = "";
}
const bottom = ref(null as HTMLElement | null);
const data = ref(subscription.data);

Expand Down

0 comments on commit ce5fb81

Please sign in to comment.