1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-24 07:12:57 +00:00

Refactored profiles related routes & components

This commit is contained in:
2025-02-18 01:39:11 +04:00
parent b31541ddf0
commit 23638b50ae
8 changed files with 112 additions and 108 deletions

View File

@@ -1,12 +1,11 @@
<script>
<script lang="ts">
import type MaintenanceProfile from "$entities/MaintenanceProfile";
/**
* @typedef {Object} Props
* @property {import('$entities/MaintenanceProfile').default} profile
*/
interface ProfileViewProps {
profile: MaintenanceProfile;
}
/** @type {Props} */
let { profile } = $props();
let { profile }: ProfileViewProps = $props();
const sortedTagsList = profile.settings.tags.sort((a, b) => a.localeCompare(b));
</script>