Skip to content

Commit

Permalink
Merge pull request #1682 from suraj-webkul/issue#1679
Browse files Browse the repository at this point in the history
[2.0] fix: Issue #1679 fixed.
  • Loading branch information
devansh-webkul authored Dec 20, 2024
2 parents aec5712 + 8d91532 commit 0f0c28c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/Webkul/Admin/src/Notifications/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function build()
$message = $this
->to($this->data['to'])
->subject($this->data['subject'])
->view('admin::emails.common', [
->view('admin::emails.common.index', [
'body' => $this->data['body'],
]);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@component('admin::emails.layout')
{!! $body !!}
@endcomponent
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
@lang('admin::app.emails.common.user.create-body')
</p>
</div>
@endcomponent
@endcomponent
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
@lang('admin::app.emails.common.user.forget-password.thanks')
</p>
</div>
@endcomponent
@endcomponent

0 comments on commit 0f0c28c

Please sign in to comment.