diff --git a/src/components/organisms/TeamDisplay.vue b/src/components/organisms/TeamDisplay.vue index 15e32a5..cfaf871 100644 --- a/src/components/organisms/TeamDisplay.vue +++ b/src/components/organisms/TeamDisplay.vue @@ -2,8 +2,9 @@ import { COLORS } from "../../data/network/constants"; import { IPlayer } from "../types"; -const { onDelete, onEdit, player } = defineProps<{ +const { onDelete, onEdit, player, subTitle } = defineProps<{ player: IPlayer; + subTitle?: string; onDelete?: (player: IPlayer) => void; onEdit?: (IPlayer: IPlayer) => void; }>(); @@ -36,6 +37,7 @@ const handleDelete = (event: MouseEvent) => { + {{ subTitle }}