Browse Source

Edit comment and remove unused variable

pull/427/head
zsxeee 3 years ago
parent
commit
66e40d9fcb
No known key found for this signature in database GPG Key ID: 895CFFFD8313B3B8
  1. 1
      src/components/notifications/Apprise.vue
  2. 10
      src/components/notifications/Discord.vue
  3. 5
      src/components/notifications/Gotify.vue
  4. 5
      src/components/notifications/Line.vue
  5. 10
      src/components/notifications/LunaSea.vue
  6. 10
      src/components/notifications/Mattermost.vue
  7. 5
      src/components/notifications/Octopush.vue
  8. 5
      src/components/notifications/Pushbullet.vue
  9. 5
      src/components/notifications/Pushover.vue
  10. 5
      src/components/notifications/Pushy.vue
  11. 10
      src/components/notifications/RocketChat.vue
  12. 5
      src/components/notifications/SMTP.vue
  13. 10
      src/components/notifications/Signal.vue
  14. 10
      src/components/notifications/Slack.vue
  15. 10
      src/components/notifications/Teams.vue
  16. 8
      src/components/notifications/Telegram.vue
  17. 14
      src/components/notifications/Webhook.vue
  18. 2
      src/components/notifications/index.js

1
src/components/notifications/Apprise.vue

@ -22,7 +22,6 @@
export default {
data() {
return {
name: "apprise",
appriseInstalled: false
}
},

10
src/components/notifications/Discord.vue

@ -18,13 +18,3 @@
<input id="discord-prefix-message" v-model="$parent.notification.discordPrefixMessage" type="text" class="form-control" autocomplete="false" placeholder="Hello @everyone is...">
</div>
</template>
<script>
export default {
data() {
return {
name: "discord",
}
},
}
</script>

5
src/components/notifications/Gotify.vue

@ -23,10 +23,5 @@ export default {
components: {
HiddenInput,
},
data() {
return {
name: "gotify",
}
},
}
</script>

5
src/components/notifications/Line.vue

@ -25,10 +25,5 @@ export default {
components: {
HiddenInput,
},
data() {
return {
name: "line",
}
},
}
</script>

10
src/components/notifications/LunaSea.vue

@ -7,13 +7,3 @@
</div>
</div>
</template>
<script>
export default {
data() {
return {
name: "lunasea",
}
},
}
</script>

10
src/components/notifications/Mattermost.vue

@ -30,13 +30,3 @@
</div>
</div>
</template>
<script>
export default {
data() {
return {
name: "mattermost",
}
},
}
</script>

5
src/components/notifications/Octopush.vue

@ -36,10 +36,5 @@ export default {
components: {
HiddenInput,
},
data() {
return {
name: "octopush",
}
},
}
</script>

5
src/components/notifications/Pushbullet.vue

@ -16,10 +16,5 @@ export default {
components: {
HiddenInput,
},
data() {
return {
name: "pushbullet",
}
},
}
</script>

5
src/components/notifications/Pushover.vue

@ -63,10 +63,5 @@ export default {
components: {
HiddenInput,
},
data() {
return {
name: "pushover",
}
},
}
</script>

5
src/components/notifications/Pushy.vue

@ -22,10 +22,5 @@ export default {
components: {
HiddenInput,
},
data() {
return {
name: "pushy",
}
},
}
</script>

10
src/components/notifications/RocketChat.vue

@ -27,13 +27,3 @@
</div>
</div>
</template>
<script>
export default {
data() {
return {
name: "rocket.chat",
}
},
}
</script>

5
src/components/notifications/SMTP.vue

@ -66,10 +66,5 @@ export default {
components: {
HiddenInput,
},
data() {
return {
name: "smtp",
}
},
}
</script>

10
src/components/notifications/Signal.vue

@ -30,13 +30,3 @@
</div>
</div>
</template>
<script>
export default {
data() {
return {
name: "signal",
}
},
}
</script>

10
src/components/notifications/Slack.vue

@ -27,13 +27,3 @@
</div>
</div>
</template>
<script>
export default {
data() {
return {
name: "slack",
}
},
}
</script>

10
src/components/notifications/Teams.vue

@ -17,13 +17,3 @@
</div>
</div>
</template>
<script>
export default {
data() {
return {
name: "teams",
};
},
};
</script>

8
src/components/notifications/Telegram.vue

@ -47,11 +47,6 @@ export default {
components: {
HiddenInput,
},
data() {
return {
name: "telegram",
}
},
computed: {
telegramGetUpdatesURL() {
let token = "<YOUR BOT TOKEN HERE>"
@ -62,9 +57,6 @@ export default {
return `https://api.telegram.org/bot${token}/getUpdates`;
},
},
mounted() {
},
methods: {
async autoGetTelegramChatID() {

14
src/components/notifications/Webhook.vue

@ -21,17 +21,3 @@
</div>
</div>
</template>
<script>
export default {
data() {
return {
name: "webhook",
}
},
}
</script>
<style lang="less" scoped>
</style>

2
src/components/notifications/index.js

@ -17,7 +17,7 @@ import Line from "./Line.vue";
import Mattermost from "./Mattermost.vue";
/**
* manage all notification form.
* Manage all notification form.
*
* @type { Record<string, any> }
*/

Loading…
Cancel
Save