diff --git a/renderer/src/web/map-check/MapStatButton.vue b/renderer/src/web/map-check/MapStatButton.vue index 53143754..b21ddba8 100644 --- a/renderer/src/web/map-check/MapStatButton.vue +++ b/renderer/src/web/map-check/MapStatButton.vue @@ -17,7 +17,7 @@ import { computed, useCssModule } from 'vue' import { AppConfig } from '@/web/Config' import { PreparedStat } from './prepare-map-stats' import { ItemCheckWidget } from '../overlay/interfaces' -import { nextDecision, decisionCreate } from '../settings/maps/common.js' +import { nextDecision, decisionCreate } from './common.js' import ItemModifierText from '../ui/ItemModifierText.vue' diff --git a/renderer/src/web/settings/maps/MapsStatEntry.vue b/renderer/src/web/map-check/SettingsMatcherEntry.vue similarity index 100% rename from renderer/src/web/settings/maps/MapsStatEntry.vue rename to renderer/src/web/map-check/SettingsMatcherEntry.vue diff --git a/renderer/src/web/settings/maps/common.ts b/renderer/src/web/map-check/common.ts similarity index 100% rename from renderer/src/web/settings/maps/common.ts rename to renderer/src/web/map-check/common.ts diff --git a/renderer/src/web/settings/maps/maps.vue b/renderer/src/web/map-check/settings-maps.vue similarity index 95% rename from renderer/src/web/settings/maps/maps.vue rename to renderer/src/web/map-check/settings-maps.vue index e2078b4a..8153fd9c 100644 --- a/renderer/src/web/settings/maps/maps.vue +++ b/renderer/src/web/map-check/settings-maps.vue @@ -20,7 +20,7 @@ :item-height="2 * fontSize" v-slot="props" > - import { computed, defineComponent, ref } from 'vue' import { useI18nNs } from '@/web/i18n' -import { configProp, findWidget } from '../utils' +import { configProp, findWidget } from '../settings/utils' import type { ItemCheckWidget } from '@/web/overlay/interfaces' import { STATS_ITERATOR, STAT_BY_MATCH_STR } from '@/assets/data' -import MapsStatEntry from './MapsStatEntry.vue' -import VirtualScroll from '../../ui/VirtualScroll.vue' +import SettingsMatcherEntry from './SettingsMatcherEntry.vue' +import VirtualScroll from '../ui/VirtualScroll.vue' import { StatMatcher, StatTag, decisionHasColor } from './common.js' function tagToShowOrder (tag?: StatTag): number { @@ -50,7 +50,7 @@ function tagToShowOrder (tag?: StatTag): number { export default defineComponent({ name: 'map_check.name', components: { - MapsStatEntry, + SettingsMatcherEntry, VirtualScroll }, props: configProp(), diff --git a/renderer/src/web/settings/SettingsWindow.vue b/renderer/src/web/settings/SettingsWindow.vue index 32f2d4f5..8da30c5f 100644 --- a/renderer/src/web/settings/SettingsWindow.vue +++ b/renderer/src/web/settings/SettingsWindow.vue @@ -63,7 +63,7 @@ import SettingsAbout from './about.vue' import SettingsPricecheck from './price-check.vue' import SettingsItemcheck from './item-check.vue' import SettingsDebug from './debug.vue' -import SettingsMaps from './maps/maps.vue' +import SettingsMaps from '../map-check/settings-maps.vue' import SettingsStashSearch from './stash-search.vue' import SettingsStopwatch from './stopwatch.vue' import SettingsItemSearch from './item-search.vue'