File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -225,25 +225,9 @@ import DotsHorizontal from 'vue-material-design-icons/DotsHorizontal'
225225
226226import Tooltip from ' ../../directives/Tooltip'
227227import GenRandomId from ' ../../utils/GenRandomId'
228- import ValidateSlot from ' ../../utils/ValidateSlot'
229228import { t } from ' ../../l10n'
230229import Popover from ' ../Popover'
231230
232- // This is the list of ALL the ALLOWED components
233- // in the default SLOT
234- const allowedChildren = [
235- ' ActionButton' ,
236- ' ActionCheckbox' ,
237- ' ActionInput' ,
238- ' ActionLink' ,
239- ' ActionRadio' ,
240- ' ActionRouter' ,
241- ' ActionSeparator' ,
242- ' ActionText' ,
243- ' ActionTextEditable' ,
244- ' ActionCaption' ,
245- ]
246-
247231const focusableSelector = ' .focusable'
248232
249233/**
@@ -484,9 +468,6 @@ export default {
484468 beforeMount () {
485469 // init actions
486470 this .initActions ()
487-
488- // filter invalid menu items
489- ValidateSlot (this .$slots .default , allowedChildren, this )
490471 },
491472 beforeUpdate () {
492473 // ! since we're using $slots to manage our actions
@@ -497,7 +478,6 @@ export default {
497478 // and the array is now reactive
498479 // init actions
499480 this .initActions ()
500- ValidateSlot (this .$slots .default , allowedChildren, this )
501481 },
502482
503483 methods: {
You can’t perform that action at this time.
0 commit comments