Skip to content

Commit f098a59

Browse files
committed
Minor issue.
1 parent 04b31f2 commit f098a59

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

packages/Webkul/Admin/src/Resources/views/components/layouts/header/index.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class="block w-full rounded-3xl border bg-white px-10 py-1.5 leading-6 text-gray
8080
<!-- Link to send new Mail-->
8181
@if (bouncer()->hasPermission('mail.create'))
8282
<div class="rounded-lg bg-white p-2 hover:bg-gray-100">
83-
<a href="{{ route('admin.mail.index', ['route' => 'compose']) }}">
83+
<a href="{{ route('admin.mail.index', ['route' => 'inbox']) }}">
8484
<div class="flex flex-col gap-1">
8585
<i class="icon-mail text-2xl text-gray-600"></i>
8686

@@ -158,7 +158,7 @@ class="block w-full rounded-3xl border bg-white px-10 py-1.5 leading-6 text-gray
158158
<!-- Link to create new User-->
159159
@if (bouncer()->hasPermission('settings.user.users.create'))
160160
<div class="rounded-lg bg-white p-2 hover:bg-gray-100">
161-
<a href="{{ route('admin.settings.users.create') }}">
161+
<a href="{{ route('admin.settings.users.index') }}">
162162
<div class="flex flex-col gap-1">
163163
<i class="icon-user text-2xl text-gray-600"></i>
164164

packages/Webkul/Admin/src/Resources/views/mail/index.blade.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ class="row grid items-center gap-2.5 border-b px-4 py-4 text-gray-600 transition
7676
<p>@{{ record.id }}</p>
7777
7878
<!-- Attachments -->
79-
<p :class="record.attachments ? 'icon-attachmetent' : ''">
80-
@{{ record.attachments ?? 'N/A'}}
81-
</p>
79+
<p
80+
:class="record.attachments ? 'icon-attachmetent' : ''"
81+
v-html="record.attachments"
82+
></p>
8283
8384
<!-- Name -->
8485
<p>@{{ record.name }}</p>

packages/Webkul/Admin/src/Routes/settings-routes.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@
148148
Route::controller(UserController::class)->prefix('users')->group(function () {
149149
Route::get('', 'index')->name('admin.settings.users.index');
150150

151-
Route::get('create', 'create')->name('admin.settings.users.create');
152-
153151
Route::post('create', 'store')->name('admin.settings.users.store');
154152

155153
Route::get('edit/{id?}', 'edit')->name('admin.settings.users.edit');

0 commit comments

Comments
 (0)