Skip to content
Snippets Groups Projects
Commit 67b7d566 authored by simon.mellerin's avatar simon.mellerin
Browse files

code style fixes

parent 2f7d934d
No related branches found
No related tags found
1 merge request!62#15 - Dashboard dataset - first work
Pipeline #10667 passed
...@@ -34,7 +34,7 @@ export const Default: Story = { ...@@ -34,7 +34,7 @@ export const Default: Story = {
color: 'linen' color: 'linen'
}, },
datasets: datasetSummaries as OcDatasetSummary[], datasets: datasetSummaries as OcDatasetSummary[],
distributionsCallback: (uris: string[]) => new Promise((resolve) => { distributionsCallback: (_: string[]) => new Promise((resolve) => {
setTimeout(() => { setTimeout(() => {
resolve(distributionSummaries); resolve(distributionSummaries);
}, 300) }, 300)
......
...@@ -154,7 +154,7 @@ const props = defineProps({ ...@@ -154,7 +154,7 @@ const props = defineProps({
required: true required: true
}, },
distributionsCallback: { distributionsCallback: {
type: Function as PropType<(distirbutionUris: string[]) => Promise<OcDistributionSummary[]>>, type: Function as PropType<(_: string[]) => Promise<OcDistributionSummary[]>>,
required: true required: true
}, },
loading: { loading: {
...@@ -230,7 +230,7 @@ const datasetActions = (dataset: OcDatasetSummary) => [ ...@@ -230,7 +230,7 @@ const datasetActions = (dataset: OcDatasetSummary) => [
} }
] ]
const distributionActions = (distribution: OcDistributionSummary) => [ const distributionActions = (_distribution: OcDistributionSummary) => [
{ {
label: 'Edit metadas', label: 'Edit metadas',
icon: 'fa-solid fa-pencil fa-fw', icon: 'fa-solid fa-pencil fa-fw',
......
...@@ -41,7 +41,7 @@ export const Default: Story = { ...@@ -41,7 +41,7 @@ export const Default: Story = {
}, },
}; };
export const withoutInitialValue: Story = { export const WithoutInitialValue: Story = {
render: (args) => ({ render: (args) => ({
components: { OcMultilingualField, InputText }, components: { OcMultilingualField, InputText },
setup() { setup() {
......
import type { Credentials, LocalizedProperty } from "@/declarations"; import type { Credentials, LocalizedProperty } from "@/declarations";
import { httpFetch } from "@/helpers/http"; import { httpFetch } from "@/helpers/http";
import { compact, frame, type ContextDefinition, type GraphObject, type NodeObject } from "jsonld"; import { compact, frame, type ContextDefinition, type NodeObject } from "jsonld";
import type { Frame, JsonLdObj } from "jsonld/jsonld-spec"; import type { Frame } from "jsonld/jsonld-spec";
/** /**
* Execute a CONTRUCT SparQL query and return * Execute a CONTRUCT SparQL query and return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment