mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Fix some TGUI stuffs
Weh
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 28 KiB |
@@ -14,18 +14,18 @@
|
||||
}
|
||||
|
||||
:root {
|
||||
--tg-air-tank-slash: "\ea01";
|
||||
--tg-air-tank: "\ea02";
|
||||
--tg-bad-touch: "\ea03";
|
||||
--tg-image-minus: "\ea04";
|
||||
--tg-image-plus: "\ea05";
|
||||
--tg-nanotrasen-logo: "\ea06";
|
||||
--tg-non-binary: "\ea07";
|
||||
--tg-prosthetic-full: "\ea08";
|
||||
--tg-prosthetic-leg: "\ea09";
|
||||
--tg-sound-minus: "\ea0a";
|
||||
--tg-sound-plus: "\ea0b";
|
||||
--tg-syndicate-logo: "\ea0c";
|
||||
--tg-air-tank-slash: "ea01";
|
||||
--tg-air-tank: "ea02";
|
||||
--tg-bad-touch: "ea03";
|
||||
--tg-image-minus: "ea04";
|
||||
--tg-image-plus: "ea05";
|
||||
--tg-nanotrasen-logo: "ea06";
|
||||
--tg-non-binary: "ea07";
|
||||
--tg-prosthetic-full: "ea08";
|
||||
--tg-prosthetic-leg: "ea09";
|
||||
--tg-sound-minus: "ea0a";
|
||||
--tg-sound-plus: "ea0b";
|
||||
--tg-syndicate-logo: "ea0c";
|
||||
}
|
||||
.tg-air-tank-slash::before {
|
||||
content: var(--tg-air-tank-slash);
|
||||
|
||||
@@ -260,7 +260,7 @@ export const PlayerPanel = () => {
|
||||
<Tabs vertical>
|
||||
{PAGES.map((page, i) => {
|
||||
if (page.canAccess && !page.canAccess(data)) {
|
||||
return;
|
||||
return <Tabs.Tab />;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -253,11 +253,11 @@ const ContractsTab = (props) => {
|
||||
data.ongoing_contract &&
|
||||
contract.status !== CONTRACT_STATUS_ACTIVE
|
||||
) {
|
||||
return;
|
||||
return CONTRACT_STATUS_INACTIVE;
|
||||
}
|
||||
const active = contract.status > CONTRACT_STATUS_INACTIVE;
|
||||
if (contract.status >= CONTRACT_STATUS_COMPLETE) {
|
||||
return;
|
||||
return CONTRACT_STATUS_COMPLETE;
|
||||
}
|
||||
return (
|
||||
<Section
|
||||
|
||||
@@ -384,15 +384,13 @@ export const ZubbersStorytellerEventPanelCategory = (
|
||||
{Object.entries(current.events)
|
||||
.sort((a, b) => b[1].weight - a[1].weight)
|
||||
.map(([event_type, event]) => {
|
||||
if (Boolean(event.roundstart) === roundstart) {
|
||||
return (
|
||||
<ZubbersStorytellerEvent
|
||||
key={event_type}
|
||||
type={event_type}
|
||||
event={event}
|
||||
/>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<ZubbersStorytellerEvent
|
||||
key={event_type}
|
||||
type={event_type}
|
||||
event={event}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user