Bugzilla – Attachment 172916 Details for
Bug 37301
Further improve how we build Vue components
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37301: Move setWarning to BaseResource
Bug-37301-Move-setWarning-to-BaseResource.patch (text/plain), 1.35 KB, created by
Pedro Amorim
on 2024-10-17 16:24:31 UTC
(
hide
)
Description:
Bug 37301: Move setWarning to BaseResource
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-10-17 16:24:31 UTC
Size:
1.35 KB
patch
obsolete
>From 291e41bd9794e3c45ca83e0322ee2528a2518af3 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 17 Oct 2024 12:32:49 +0000 >Subject: [PATCH] Bug 37301: Move setWarning to BaseResource > >UsageStatisticsDataProvidersList needs it, and others in the future will as well >--- > .../prog/js/vue/components/BaseResource.vue | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue >index c2b9a1c577..6de6a968b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue >@@ -4,9 +4,15 @@ import { inject } from "vue" > export default { > setup(props) { > //global setup for all resource (list and show for now, but maybe others?) components here >- const { setConfirmationDialog, setMessage, setError } = >+ const { setConfirmationDialog, setMessage, setError, setWarning } = > inject("mainStore") >- return { ...props, setConfirmationDialog, setMessage, setError } >+ return { >+ ...props, >+ setConfirmationDialog, >+ setMessage, >+ setError, >+ setWarning, >+ } > }, > methods: { > /** >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37301
:
168709
|
168739
|
168740
|
168741
|
168800
|
168827
|
168828
|
168829
|
168836
|
172713
|
172911
|
172912
|
172913
|
172914
|
172915
|
172916
|
172917
|
172918
|
172919
|
172920
|
172921
|
174612
|
174613
|
174614
|
174615
|
174616
|
174617
|
174618
|
174619
|
174620
|
174621
|
174622
|
174623
|
174624
|
174625
|
174626
|
174627
|
174628
|
174629
|
174630
|
174631