Skip to content

Commit

Permalink
Remove refetch button from sources
Browse files Browse the repository at this point in the history
It's confusing to have it, because in non-development operation, the
source will not change. When developing, you probably want to be reloading
anyway.
  • Loading branch information
Nicholas FitzRoy-Dale committed Sep 4, 2024
1 parent 10a293e commit 5793667
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions frontend/src/components/SearchResults.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Copyright 2023 Telemarq Ltd
-->
<template>
<div>
<button id="refresh" @click="eventsRefetch()">&#128472;</button>
<div class="searchResultsTable">
<div v-for="device in activeDevices" class="header">
<span class="deviceName">{{ device }}</span>
Expand Down Expand Up @@ -72,22 +71,14 @@ Copyright 2023 Telemarq Ltd
color: #aaa;
}
#refresh {
position: fixed;
top: 2px;
right: 2px;
width: 3em;
z-index: 1;
}
</style>

<script setup>
import { ref, watch, computed } from 'vue';
import {
eventsFilter,
activeDevices,
rawEventsSearchResult,
eventsRefetch,
rawEventsSearchResult
} from '../store.js';
import { useQuery } from '@vue/apollo-composable';
import gql from 'graphql-tag';
Expand Down

0 comments on commit 5793667

Please sign in to comment.