Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JSKitty committed Nov 19, 2024
1 parent 1ae3f39 commit b53ea64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 9 additions & 4 deletions scripts/alerts/Alert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,21 @@ const icon = computed(() => {
</div>
<div class="notifyText" v-html="message"></div>
</div>
<div style="display: flex;"
:style="(actionName ? 'flex-direction: row' : 'flex-direction: column')">
<div
style="display: flex"
:style="
actionName ? 'flex-direction: row' : 'flex-direction: column'
"
>
<button
:class="(actionName ? 'notifyButtonFirst' : '')"
:class="actionName ? 'notifyButtonFirst' : ''"
class="btn btn-notification-close"
@click="$emit('hideAlert')"
>
CLOSE
</button>
<button v-if="actionName"
<button
v-if="actionName"
class="btn btn-notification-action notifyButtonSecond"
@click="$emit('runAction')"
>
Expand Down
1 change: 0 additions & 1 deletion scripts/alerts/Alerts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function runAction(cAlert) {
cAlert.actionFunc();
cAlert.show = false;
}
</script>
<template>
Expand Down

0 comments on commit b53ea64

Please sign in to comment.