2023-09-06 10:56:08 -05:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import Controller from '@ember/controller';
|
2023-09-15 13:52:34 -05:00
|
|
|
import { tracked } from '@glimmer/tracking';
|
|
|
|
|
import { action } from '@ember/object';
|
2023-09-06 10:56:08 -05:00
|
|
|
|
|
|
|
|
export default class ScopesScopeProjectsTargetsTargetController extends Controller {
|
|
|
|
|
// =attributes
|
|
|
|
|
|
|
|
|
|
queryParams = [{ isConnecting: { type: 'boolean' } }];
|
|
|
|
|
|
2023-09-15 13:52:34 -05:00
|
|
|
@tracked isConnecting = false;
|
|
|
|
|
|
|
|
|
|
// =methods
|
|
|
|
|
|
|
|
|
|
@action
|
2023-10-02 05:26:10 -07:00
|
|
|
toggleModal(value) {
|
|
|
|
|
this.isConnecting = value;
|
2023-09-15 13:52:34 -05:00
|
|
|
}
|
2023-09-06 10:56:08 -05:00
|
|
|
}
|