Skip to content

Commit

Permalink
Fixes after merging
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Feb 10, 2025
1 parent b96470f commit ef8a44a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panel/src/panel/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ export const resolveComponentMixins = (component) => {
// component inherits from a parent component:
// make sure to only include the mixin if the parent component
// hasn't already included it (to avoid duplicate mixins)
if (options.extends) {
const inherited = new options.extends().$options.mixins ?? [];
if (component.extends) {
const inherited = new component.extends().$options.mixins ?? [];

if (inherited.includes(mixins[mixin]) === true) {
return;
Expand Down

0 comments on commit ef8a44a

Please sign in to comment.