mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
Sidebar for dashboard, minor bug fix
This commit is contained in:
parent
ad4ddea5cd
commit
6ce367b68e
2 changed files with 26 additions and 2 deletions
|
|
@ -2,7 +2,6 @@ class AppsController < ApplicationController
|
|||
skip_before_action :authenticate_request, only: [:show]
|
||||
|
||||
def index
|
||||
sleep(4)
|
||||
authorize App
|
||||
@apps = App.where(organization: @current_user.organization)
|
||||
.order('created_at desc')
|
||||
|
|
|
|||
|
|
@ -158,7 +158,32 @@ class HomePage extends React.Component {
|
|||
<div className="row">
|
||||
<div className="col-3">
|
||||
<br />
|
||||
|
||||
<div className="w-100 mt-4 px-3 card">
|
||||
|
||||
{isLoading && (
|
||||
<div className="p-5">
|
||||
<center>
|
||||
<div class="spinner-border text-azure" role="status"></div>
|
||||
</center>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{!isLoading && (
|
||||
<div class="list-group list-group-transparent mb-3">
|
||||
|
||||
<a class="list-group-item list-group-item-action d-flex align-items-center active" href="#">
|
||||
All applications
|
||||
<small class="text-muted ms-auto">
|
||||
<span class="badge bg-azure-lt">{meta.count}</span>
|
||||
</small>
|
||||
</a>
|
||||
<a class="list-group-item list-group-item-action d-flex align-items-center" href="#">
|
||||
+ Folder
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div className="col-md-9">
|
||||
|
|
|
|||
Loading…
Reference in a new issue