Files
threshold-ui/ui/desktop/app/controllers/scopes/scope/projects/targets/target.js
T
2023-09-22 18:58:14 -04:00

24 lines
491 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Controller from '@ember/controller';
import { tracked } from '@glimmer/tracking';
import { action } from '@ember/object';
export default class ScopesScopeProjectsTargetsTargetController extends Controller {
// =attributes
queryParams = [{ isConnecting: { type: 'boolean' } }];
@tracked isConnecting = false;
// =methods
@action
toggle() {
this.isConnecting = !this.isConnecting;
}
}