Skip to content

Commit

Permalink
dont show warning on dataset transformer first open (#5936)
Browse files Browse the repository at this point in the history
Co-authored-by: Cole Blanchard <[email protected]>
  • Loading branch information
blanchco and Cole Blanchard authored Dec 24, 2024
1 parent c47d063 commit e8dea40
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ import { useConfirm } from 'primevue/useconfirm';
import { useProjects } from '@/composables/project';
import { programmingLanguageOptions } from '@/types/common';
import TeraBeakerInput from '@/components/llm/tera-beaker-input.vue';
import { isEmpty } from 'lodash';
const openDialog = () => {
showSaveInput.value = true;
Expand Down Expand Up @@ -326,7 +327,10 @@ onMounted(() => {
kernelId: jupyterSession.session?.kernel?.id,
value: jupyterSession.session?.id
};
showRerunMessage.value = true;
// Show rerun message if there are any cells that have been executed
if (props.notebookSession?.data.history?.some((historyItem) => !isEmpty(historyItem.executions))) {
showRerunMessage.value = true;
}
}
});
});
Expand Down

0 comments on commit e8dea40

Please sign in to comment.