Fix default theme not applying

This commit is contained in:
John Ryan Camatog 2017-05-25 04:00:39 +08:00
parent 9970988656
commit da0e90a77e

View file

@ -36,8 +36,6 @@ export default {
beforeMount() {
const localTheme = this.mdTheme;
if (localTheme) {
this.$material.useTheme(localTheme);
}
this.$material.useTheme(localTheme ? localTheme : 'default');
}
};