Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ‘½οΈ Updates name/path for Addy widget (#1983)

Alicia Sykesd2b067eb92ae
diff --git a/docs/widgets.md b/docs/widgets.md
index c472f859..668ef2af 100644
--- a/docs/widgets.md
+++ b/docs/widgets.md
@@ -618,7 +618,7 @@ This widget display email addresses / aliases from addy.io. Click an email addre
**Field** | **Type** | **Required** | **Description**
--- | --- | --- | ---
-**`apiKey`** | `string` | Required | Your addy.io API Key / Personal Access Token. You can generate this under [Account Settings](https://app.addy.io/settings)
+**`apiKey`** | `string` | Required | Your addy.io API Key / Personal Access Token. You can generate this under [API Settings](https://app.addy.io/settings/api)
**`hostname`** | `string` | _Optional_ | If your self-hosting addy.io, then supply the host name. By default it will use the public hosted instance
**`apiVersion`** | `string` | _Optional_ | If you're using an API version that is not version `v1`, then specify it here
**`limit`** | `number` | _Optional_ | Limit the number of emails shown per page. Defaults to `10`
@@ -631,7 +631,7 @@ This widget display email addresses / aliases from addy.io. Click an email addre
#### Example
```yaml
- - type: anonaddy
+ - type: addy
options:
apiKey: "xxxxxxxxxxxxxxxxxxxxxxxx\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\
diff --git a/src/components/Widgets/WidgetBase.vue b/src/components/Widgets/WidgetBase.vue
index a3457732..74c58a6b 100644
--- a/src/components/Widgets/WidgetBase.vue
+++ b/src/components/Widgets/WidgetBase.vue
@@ -54,7 +54,8 @@ const COMPAT = {
'adguard-filter-status': 'AdGuardFilterStatus',
'adguard-stats': 'AdGuardStats',
'adguard-top-domains': 'AdGuardTopDomains',
- anonaddy: 'addy.io',
+ addy: 'AnonAddy',
+ anonaddy: 'AnonAddy',
apod: 'Apod',
'blacklist-check': 'BlacklistCheck',
chucknorris: 'ChuckNorris',