Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lampone committed Jun 19, 2021
1 parent d9b1cdc commit 773d310
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/js/bard.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions resources/js/StyleSelectMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ export default {
data() {
return {
currentKey: null,
showOptions: false,
getMarkAttrs: this.editor.getMarkAttrs.bind(this.editor),
showOptions: false
};
},
computed: {
styles(){
return Statamic.$config.get('bard-style-selects.styles') || [];
return Statamic.$config.get('bard-style-select.styles') || [];
}
},
created() {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/bard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import StyleSelectMenu from "./StyleSelectMenu";

Statamic.booting(() => {

const styles = Statamic.$config.get('bard-style-selects.styles') || [];
const styles = Statamic.$config.get('bard-style-select.styles') || [];

// filter styles for block config and create block attr change
// issues/2340
Expand Down

0 comments on commit 773d310

Please sign in to comment.