Skip to content
Merged

Fixes #3071

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ const mqttStore = useMqttStore();
const isSmallScreen = computed(() => Screen.lt.sm);

const plans = computed(() =>
mqttStore.vehicleScheduledChargingPlans(props.chargePointId)
mqttStore.vehicleScheduledChargingPlans(props.chargePointId),
);

const selectedPlanId = ref<number | null>(null);

const selectedPlan = computed(() => {
if (selectedPlanId.value === null) return null;
return plans.value.find(p => p.id === selectedPlanId.value);
return plans.value.find((plan) => plan.id === selectedPlanId.value);
});

const currentPlanDetailsVisible = ref(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ export interface FlowComponent {
soc?: number;
icon: string;
}

Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ $grey: #9e9e9e; // Quasar's default grey
$toggle-off: #e0e0e0;
$grid-stroke: #a33c42;
$grid-fill: #efb6bc33;
$secondary-counter-stroke: #FFA9A8;
$secondary-counter-fill: #FFA9A833;
$secondary-counter-stroke: #ffa9a8;
$secondary-counter-fill: #ffa9a833;
$home-stroke: #949aa1;
$home-fill: #949aa133;
$pv-stroke: #66bd7a;
Expand All @@ -48,7 +48,7 @@ $battery-stroke: #ba7128;
$battery-fill: #ba712833;
$battery-fill-flow-diagram: #c6a583;
$charge-point-stroke: #5c93d1;
$charge-point-fill: #5c93d14D;
$charge-point-fill: #5c93d14d;
// Light theme (default)
:root {
--q-primary: #{$primary};
Expand Down Expand Up @@ -218,7 +218,8 @@ $charge-point-fill: #5c93d14D;
}

// Scrollbar styling für .q-list auto Light Theme
.q-list, .narrow-scrollbar {
.q-list,
.narrow-scrollbar {
scrollbar-width: thin;
scrollbar-color: var(--q-primary) var(--q-background-2);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3288,7 +3288,6 @@ export const useMqttStore = defineStore('mqtt', () => {
return undefined;
});


/**
* Get all counter ids from component hierarchy
* @returns number[]
Expand Down Expand Up @@ -3373,7 +3372,7 @@ export const useMqttStore = defineStore('mqtt', () => {
* @returns string | number | ValueObject | undefined
*/
const counterDailyImported = computed(() => {
return (returnType: string = 'textValue', counterId?: number ) => {
return (returnType: string = 'textValue', counterId?: number) => {
const id = counterId ?? getGridId.value;
if (id === undefined) {
return '---';
Expand Down
2 changes: 1 addition & 1 deletion runs/install_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
echo "install required packages with 'apt-get'..."
sudo apt-get -q update
sudo apt-get -q -y install \
vim bc jq socat sshpass sudo ssl-cert mmc-utils inotify-tools \
vim bc jq socat sshpass sudo ssl-cert mmc-utils inotify-tools iptables \
apache2 libapache2-mod-php \
php php-gd php-curl php-xml php-json \
git \
Expand Down