mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
subscription page can now list subscriptions without users
This commit is contained in:
2
public/chunks/subscriptions.js
vendored
2
public/chunks/subscriptions.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/main.js
vendored
2
public/js/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@
|
||||
"/chunks/admin.js": "/chunks/admin.js?id=87bda46c27a6dde9",
|
||||
"/chunks/dashboard.js": "/chunks/dashboard.js?id=849bbd9454296cc0",
|
||||
"/chunks/invoices.js": "/chunks/invoices.js?id=c40b8b7925003659",
|
||||
"/chunks/subscriptions.js": "/chunks/subscriptions.js?id=cdca1b82ffe52ff5",
|
||||
"/chunks/subscriptions.js": "/chunks/subscriptions.js?id=1d72d33f4d3e9355",
|
||||
"/chunks/pages.js": "/chunks/pages.js?id=15ab720d05126115",
|
||||
"/chunks/page-edit.js": "/chunks/page-edit.js?id=651cd395d5a24dbc",
|
||||
"/chunks/plans.js": "/chunks/plans.js?id=89b35f8720666147",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<tr class="whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5">
|
||||
<td class="py-5 pr-3 md:pr-1">
|
||||
<router-link
|
||||
v-if="row.data.relationships.user"
|
||||
class="flex items-center"
|
||||
:to="{
|
||||
name: 'UserDetail',
|
||||
@@ -35,6 +36,9 @@
|
||||
</span>
|
||||
</div>
|
||||
</router-link>
|
||||
<span v-else class="text-sm font-bold">
|
||||
-
|
||||
</span>
|
||||
</td>
|
||||
<td class="px-3 md:px-1">
|
||||
<ColorLabel :color="$getSubscriptionStatusColor(row.data.attributes.status)">
|
||||
@@ -53,12 +57,7 @@
|
||||
</td>
|
||||
<td class="px-3 md:px-1">
|
||||
<span class="text-sm font-bold">
|
||||
<!--todo: update renew attribute-->
|
||||
{{
|
||||
row.data.attributes.renews_at
|
||||
? row.data.attributes.renews_at
|
||||
: row.data.attributes.created_at
|
||||
}}
|
||||
{{ row.data.attributes.renews_at }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="px-3 md:px-1">
|
||||
|
||||
Reference in New Issue
Block a user