Skip to content

Commit

Permalink
changing h3 tag to h2 and removing unnecessary methods
Browse files Browse the repository at this point in the history
  • Loading branch information
assuntad23 committed Nov 2, 2023
1 parent b172750 commit ae40fae
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions client/src/components/Markdown/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<h1 class="text-break align-middle">
Title: {{ markdownConfig.title || markdownConfig.model_class }}
</h1>
<h3 v-if="workflowVersions" class="text-break align-middle">
<h2 v-if="workflowVersions" class="text-break align-middle">
Workflow Checkpoint: {{ workflowVersions.version }}
</h3>
</h2>
</span>
</div>
<b-badge variant="info" class="w-100 rounded mb-3 white-space-normal">
Expand Down Expand Up @@ -172,7 +172,7 @@ export default {
},
created() {
this.initConfig();
this.getWFversion();
this.fetchWorkflowForInstanceId(this.workflowID);
},
methods: {
...mapActions(useWorkflowStore, ["getStoredWorkflowByInstanceId", "fetchWorkflowForInstanceId"]),
Expand All @@ -192,9 +192,6 @@ export default {
this.workflowID = Object.keys(this.markdownConfig.workflows)[0];
}
},
getWFversion() {
this.fetchWorkflowForInstanceId(this.workflowID);
},
splitMarkdown(markdown) {
const sections = [];
let digest = markdown;
Expand Down

0 comments on commit ae40fae

Please sign in to comment.