Also replace icons afterUpdate
This commit is contained in:
parent
10d5d16967
commit
5cfdecfebf
@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {replaceIcons} from "../../ts/icons.js";
|
import {replaceIcons} from "../../ts/icons.js";
|
||||||
import {onMount} from "svelte";
|
import {afterUpdate, onMount} from "svelte";
|
||||||
|
|
||||||
export let name: string;
|
export let name: string;
|
||||||
|
|
||||||
@ -8,6 +8,9 @@
|
|||||||
replaceIcons(true);
|
replaceIcons(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
afterUpdate(() => {
|
||||||
|
replaceIcons(false);
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
Loading…
Reference in New Issue
Block a user