mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Use computed, not method so it is accessible
This commit is contained in:
@@ -49,7 +49,7 @@ class Flash implements FlashInterface {
|
||||
}
|
||||
|
||||
export const FlashMixin: ComponentOptions<Vue> = {
|
||||
methods: {
|
||||
computed: {
|
||||
'$flash': function () {
|
||||
return new Flash();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user