Skip to content

Commit

Permalink
tidy editor setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyzimmer committed Nov 12, 2023
1 parent 786255a commit 5e69c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ConnectionProfileEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -618,14 +618,14 @@ export default defineComponent({
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } =
useDialogPluginComponent();
const q = useQuasar();
const isNewProfile = !props.current?.id;
const title = isNewProfile ? NewConnectionTitle : EditConnectionTitle;
const profile = ref<NetworkParameters>(
props.current ? { ...props.current } : Defaults.parameters()
);
const daemon = useDaemon();
const { networks, error } = useWebmesh(daemon.options);
const isNewProfile = !props.current?.id;
const title = isNewProfile ? NewConnectionTitle : EditConnectionTitle;
const caCertRef = ref<QInput | null>(null);
const tlsCertRef = ref<QInput | null>(null);
const tlsKeyRef = ref<QInput | null>(null);
Expand Down

0 comments on commit 5e69c3b

Please sign in to comment.