Browse Source

fix(info_messages): Correct IFTTT alert condition check

* Updated the IFTTT alert output to only display when the alert is set to "on".
* This change ensures that unnecessary output is avoided when the alert is not active.
pull/4871/head
Daniel Gibbs 7 months ago
parent
commit
fc5e723d17
Failed to extract signature
  1. 4
      lgsm/modules/info_messages.sh

4
lgsm/modules/info_messages.sh

@ -598,7 +598,9 @@ fn_info_messages_script() {
echo -e "${lightblue}Gotify alert:\t${default}${gotifyalert}"
fi
# IFTTT alert
echo -e "${lightblue}IFTTT alert:\t${default}${iftttalert}"
if [ "${iftttalert}" == "on" ]; then
echo -e "${lightblue}IFTTT alert:\t${default}${iftttalert}"
fi
# Pushbullet alert
if [ "${pushbulletalert}" == "on" ]; then
echo -e "${lightblue}Pushbullet alert:\t${default}${pushbulletalert}"

Loading…
Cancel
Save