mirror of
https://github.com/BlossomiShymae/clean-cuts.git
synced 2025-12-06 10:10:47 +01:00
Fix TFT damage skins using the wrong path
This commit is contained in:
@@ -521,7 +521,7 @@ export class TftDamageSkin extends CommunityDragonObject {
|
||||
this.level = json.level;
|
||||
}
|
||||
|
||||
getLoadoutsIcon(version: string): string {
|
||||
return this.resolveGamePath({path: this.loadoutsIcon, version: version});
|
||||
getLoadoutsIcon(args: LocaleVersionArgs): string {
|
||||
return this.resolveClientPath({path: this.loadoutsIcon, args: args});
|
||||
}
|
||||
}
|
||||
@@ -39,7 +39,7 @@ const p = computed(() => {
|
||||
data-aos="zoom-out"
|
||||
data-aos-duration="500">
|
||||
<div class="ratio ratio-1x1 position-relative trans-hover-grow">
|
||||
<LLazyImg class="rounded" img-class="rounded" :src="tftDamageSkin.getLoadoutsIcon('latest')"/>
|
||||
<LLazyImg class="rounded" img-class="rounded" :src="tftDamageSkin.getLoadoutsIcon({locale: currentLocale, version: 'latest'})"/>
|
||||
<div class="position-absolute z-1 d-flex flex-column justify-content-end">
|
||||
<div class="d-inline-flex justify-content-between align-items-end bg-dark-gradient p-2">
|
||||
<span>{{ tftDamageSkin.name }}</span>
|
||||
|
||||
Reference in New Issue
Block a user