Skip to content

Commit

Permalink
fix: removed reload settings button
Browse files Browse the repository at this point in the history
  • Loading branch information
builder555 committed Mar 13, 2023
1 parent 9c8bce6 commit 0550eb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion ui/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ onBeforeUnmount(() => {
<the-notification v-model="store.error" />
<div class="columns">
<div class="column is-half is-full-mobile">
<the-name-display :name="info.name" @reload="store.fetchSettings" />
<the-name-display :name="info.name" />
</div>
<div v-show="store.isBusy" class="spinner"><div></div></div>
<div class="column is-half is-full-mobile has-text-right-tablet has-text-left"></div>
Expand Down
4 changes: 0 additions & 4 deletions ui/src/components/TheNameDisplay.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script setup>
import { ref } from 'vue';
defineProps(['name']);
defineEmits(['reload']);
const isNameHidden = ref(true);
</script>
<template>
Expand All @@ -10,9 +9,6 @@ const isNameHidden = ref(true);
<span class="accent" v-if="isNameHidden">PineSAM</span>
<span class="accent" v-else>{{ name }}</span>
</a>
<a class="icon primary refresh-button restore-click" @click="$emit('reload')">
<i class="fas fa-sync-alt"></i>
</a>
</h1>
</template>
<style scoped>
Expand Down

0 comments on commit 0550eb4

Please sign in to comment.