From 2580d0f95ceb29f71fe882838a5da018fb73b654 Mon Sep 17 00:00:00 2001 From: "Massimiliano D." <126668030+mdeliatf@users.noreply.github.com> Date: Mon, 22 Sep 2025 10:00:44 +0200 Subject: [PATCH] Update hub-button-app to use a local script Co-authored-by: Firespray-31 <147506444+Firespray-31@users.noreply.github.com> --- .../traefiklabs-hub-button-app/main-v1.js | 22 +++++++- .../traefiklabs-hub-button-app/main-v1.js.map | 2 +- webui/src/App.tsx | 21 +++---- webui/src/contexts/version.tsx | 40 ++++++++++++++ webui/src/hooks/use-version.tsx | 13 ----- webui/src/layout/Navigation.tsx | 55 ++++++++++++++++--- webui/src/types/API.d.ts | 8 +++ 7 files changed, 124 insertions(+), 37 deletions(-) create mode 100644 webui/src/contexts/version.tsx delete mode 100644 webui/src/hooks/use-version.tsx create mode 100644 webui/src/types/API.d.ts diff --git a/webui/public/traefiklabs-hub-button-app/main-v1.js b/webui/public/traefiklabs-hub-button-app/main-v1.js index 9a90cc6b2..e140dab34 100644 --- a/webui/public/traefiklabs-hub-button-app/main-v1.js +++ b/webui/public/traefiklabs-hub-button-app/main-v1.js @@ -1,3 +1,23 @@ /* eslint-disable */ -!function(){var e={110:function(e,t,n){"use strict";var r=n(441),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function u(e){return r.isMemo(e)?o:i[e.$$typeof]||a}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[r.Memo]=o;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var o=c(n);f&&(o=o.concat(f(n)));for(var i=u(t),m=u(n),v=0;v