Skip to content

Commit

Permalink
add 'image' type as a dupe of 'slideshow'
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Mar 16, 2022
1 parent 769c4aa commit 3194ad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/charts/allCharts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const plotlyCharts = {
bubble,
heatmap,
hexagons,
image: slideshow, // both 'image' and 'slideshow' types work for images
line,
pie,
sankey,
Expand Down
2 changes: 1 addition & 1 deletion src/charts/slideshow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class VueComponent extends Vue {
// true for absolute URLs
private r: RegExp = new RegExp('^(?:[a-z]+:)?//', 'i')
private async mounted() {
private mounted() {
const fileApi = new HTTPFileSystem(this.fileSystemConfig)
if (this.config != null) Object.assign(this.options, this.config)
Expand Down

0 comments on commit 3194ad5

Please sign in to comment.