Skip to content

Commit

Permalink
Add datacube type
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Sep 4, 2023
1 parent c87d79e commit 328e616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ParameterDataType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<button type="button" v-if="nativeParameterType === 'array'" @click="convertToArray()"><i class="fas fa-list"></i> Convert to array</button>
</template>
<div v-else-if="type === 'raster-cube' || type === 'vector-cube'" class="fieldValue description">
<div v-else-if="type === 'raster-cube' || type === 'vector-cube' || type === 'datacube'" class="fieldValue description">
<i class="fas fa-exclamation-circle"></i>
<p>This parameter can only be set by creating a connection between an "Output" / "Result" and this parameter in the Visual Model.</p>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/components/ParameterDataTypes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ const SUPPORTED_TYPES = [
// Can't be transfered between client and server, no JSON encoding available for cubes:
// {type: 'object', subtype: 'raster-cube'},
// {type: 'object', subtype: 'vector-cube'},
// {type: 'object', subtype: 'datacube'},
];
const refSchema = {
type: 'object',
Expand Down

0 comments on commit 328e616

Please sign in to comment.