Files
threshold-ui/ui/desktop/app/controllers/scopes/scope/projects/targets/target.js
T

23 lines
488 B
JavaScript
Raw Normal View History

/**
* 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
toggleModal(value) {
this.isConnecting = value;
}
}