Skip to content

Commit

Permalink
Add Server
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Nov 1, 2024
1 parent 3259903 commit cb7b651
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions api/web/src/components/CloudTAK/Menu/Basemaps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
</template>

<template #default>
<div v-if='!share' class='col-12 px-2 py-2'>
<div
v-if='!share'
class='col-12 px-2 py-2'
>
<TablerInput
v-model='paging.filter'
icon='search'
Expand Down Expand Up @@ -147,8 +150,7 @@

<script setup lang='ts'>
import { onMounted, ref, computed, watch } from 'vue';
import type { BasemapList, Basemap, Server, Package } from '../../../types.ts';
import type { Feature } from 'geojson';
import type { BasemapList, Basemap } from '../../../types.ts';
import { std, stdurl } from '../../../std.ts';
import Overlay from '../../../stores/base/overlay.ts';
import BasemapEditModal from './Basemaps/EditModal.vue';
Expand Down Expand Up @@ -254,10 +256,6 @@ function download(basemap: Basemap) {
window.open(stdurl(`api/basemap/${basemap.id}?format=xml&download=true&token=${localStorage.token}`), '_blank');
}
async function fetchServer(): Promise<Server> {
return await std('/api/server') as Server;
}
async function fetchList() {
try {
loading.value = true;
Expand Down

0 comments on commit cb7b651

Please sign in to comment.