This is the continuation of the design update for the settings screens. In this PR, the automation page is updated with the latest design. - Moved the row to a new component - Migrated both components to composition API. - Order by ID (Earlier this was order by updated_at which was confusing). | Light | Dark | | -- | -- | | <img width="1438" alt="Screenshot 2024-08-21 at 9 46 48 PM" src="https://github.com/user-attachments/assets/89d96745-6556-48a1-82fa-a115325c24c0"> | <img width="1398" alt="Screenshot 2024-08-21 at 9 46 57 PM" src="https://github.com/user-attachments/assets/5f1935ec-6d0e-4f82-b895-f47244764474"> | --------- Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
27 lines
609 B
JavaScript
27 lines
609 B
JavaScript
import { frontendURL } from '../../../../helper/URLHelper';
|
|
const SettingsWrapper = () => import('../SettingsWrapper.vue');
|
|
const Automation = () => import('./Index.vue');
|
|
|
|
export default {
|
|
routes: [
|
|
{
|
|
path: frontendURL('accounts/:accountId/settings/automation'),
|
|
component: SettingsWrapper,
|
|
children: [
|
|
{
|
|
path: '',
|
|
redirect: 'list',
|
|
},
|
|
{
|
|
path: 'list',
|
|
name: 'automation_list',
|
|
component: Automation,
|
|
meta: {
|
|
permissions: ['administrator'],
|
|
},
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|