2019-07-26 23:05:29 +02:00
|
|
|
<script>
|
2019-08-02 00:05:04 +02:00
|
|
|
import { t } from '../../services/utils';
|
2021-01-07 22:14:31 +01:00
|
|
|
import SvelteButton from '../elements/SvelteButton.svelte';
|
2020-11-09 18:15:30 +01:00
|
|
|
import { nhentaiSaveFavorites } from '../../services/api';
|
2019-07-26 23:05:29 +02:00
|
|
|
|
|
|
|
function handleClick() {
|
2020-11-09 18:15:30 +01:00
|
|
|
nhentaiSaveFavorites();
|
2019-07-26 23:05:29 +02:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style></style>
|
|
|
|
|
|
|
|
<div class="nhentai-login">
|
2021-01-06 00:58:12 +01:00
|
|
|
<SvelteButton on:click="{handleClick}">{ t('Save nhentai Favorites') }</SvelteButton>
|
2019-07-26 23:05:29 +02:00
|
|
|
</div>
|