Skip to content

Commit

Permalink
Import sorting fixes post-citations work
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 19, 2023
1 parent fe2a24c commit c5d246c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Citation/CitationsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ import Vue from "vue";
import { useConfig } from "@/composables/config";
import { getCitations } from "./services";
import CitationItem from "./CitationItem";
import { getCitations } from "./services";
Vue.use(BootstrapVue);
Expand Down
6 changes: 4 additions & 2 deletions client/src/components/Citation/cite.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { plugins } from "@citation-js/core";
export { Cite } from "@citation-js/core";
import "@citation-js/plugin-bibtex";
import "@citation-js/plugin-csl";

import { plugins } from "@citation-js/core";

export { Cite } from "@citation-js/core";

plugins.config.get("@bibtex");
plugins.config.get("@csl");
3 changes: 2 additions & 1 deletion client/src/components/Tool/ToolFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@
import { library } from "@fortawesome/fontawesome-svg-core";
import { faAngleDoubleDown, faAngleDoubleUp, faCopy, faQuestion } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import CitationItem from "components/Citation/CitationItem.vue";
import { getCitations } from "components/Citation/services";
import License from "components/License/License";
import Creators from "components/SchemaOrg/Creators";
import { copy } from "utils/clipboard";
import CitationItem from "components/Citation/CitationItem.vue";
library.add(faQuestion, faCopy, faAngleDoubleDown, faAngleDoubleUp);
export default {
Expand Down

0 comments on commit c5d246c

Please sign in to comment.