48 lines
1.5 KiB
JavaScript
48 lines
1.5 KiB
JavaScript
(function () {
|
|
const OrgPortal = (window.OrgPortal = window.OrgPortal || {});
|
|
const { h } = OrgPortal.runtime;
|
|
const { portalData } = OrgPortal.data;
|
|
const registryStore = window.RegistryApp.store;
|
|
|
|
OrgPortal.componentFns = OrgPortal.componentFns || {};
|
|
|
|
OrgPortal.componentFns.DisbandedView = function DisbandedView() {
|
|
return h(
|
|
"section",
|
|
{ className: "card org-panel org-span-12 org-empty-state" },
|
|
h(
|
|
"div",
|
|
{ className: "org-panel-head" },
|
|
h(
|
|
"div",
|
|
null,
|
|
h(
|
|
"div",
|
|
{ className: "org-eyebrow" },
|
|
"Organization Removed",
|
|
),
|
|
h(
|
|
"h2",
|
|
{ className: "org-panel-title" },
|
|
portalData.org.name,
|
|
),
|
|
),
|
|
),
|
|
h(
|
|
"p",
|
|
{ className: "org-summary" },
|
|
"This organization has been disbanded. Member access, assets, and fleet management are no longer available from this portal preview.",
|
|
),
|
|
h(
|
|
"button",
|
|
{
|
|
type: "button",
|
|
className: "org-secondary-btn",
|
|
onClick: () => registryStore.setView("home"),
|
|
},
|
|
"Return to Registry",
|
|
),
|
|
);
|
|
};
|
|
})();
|